feature/upgrade_retry #5

Merged
zhangdeman merged 4 commits from feature/upgrade_retry into master 2025-04-17 18:43:43 +08:00
Showing only changes of commit f780551ba6 - Show all commits

View File

@ -63,7 +63,7 @@ func NewRestyClient(reqConfig *define.Request) (*resty.Client, *resty.Request) {
if len(pathParamValue) == 0 {
continue
}
reqConfig.FullUrl = strings.ReplaceAll(reqConfig.FullUrl, "{#"+pathParamName+"#}", pathParamValue)
reqConfig.FullUrl = strings.ReplaceAll(reqConfig.FullUrl, "{"+pathParamName+"}", pathParamValue)
}
request.Method = reqConfig.Method // 请求方法
cookieList := make([]*http.Cookie, 0)