This commit is contained in:
wangchuxiao
2023-06-09 19:44:45 +08:00
parent 3c02880098
commit 931991f926
5 changed files with 60 additions and 11 deletions
-1
View File
@@ -87,7 +87,6 @@ func callBackPostReturn(ctx context.Context, url, command string, input interfac
v.Set(constant.CallbackCommand, command)
url = url + "?" + v.Encode()
b, err := Post(ctx, url, nil, input, callbackConfig.CallbackTimeOut)
log.ZError(ctx, "post", err, "b", string(b))
if err != nil {
if callbackConfig.CallbackFailedContinue != nil && *callbackConfig.CallbackFailedContinue {
log.ZWarn(ctx, "callback failed but continue", err, "url", url)