This commit is contained in:
2025-06-12 02:17:31 +10:00
parent b5fcbab1a5
commit da9a17201b
61 changed files with 1362 additions and 1106 deletions

12
common/request.go Normal file
View File

@ -0,0 +1,12 @@
package common
import (
"resty.dev/v3"
)
func Request(retryTimes int) *resty.Client {
client := resty.New()
client.
SetRetryCount(retryTimes)
return client
}