mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
refactor: TakeScreenShot saves all screenshots
This commit is contained in:
@@ -443,3 +443,7 @@ func Sign(ver string, ak string, sk string, body []byte) string {
|
||||
signResult := sha256HMAC(signKey, body)
|
||||
return fmt.Sprintf("%v/%v", signKeyInfo, string(signResult))
|
||||
}
|
||||
|
||||
func GenNameWithTimestamp(prefix string) string {
|
||||
return fmt.Sprintf("%s%d", prefix, time.Now().Unix())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user