callback log

This commit is contained in:
wangchuxiao
2023-06-09 17:55:41 +08:00
parent 518d63b9bc
commit 16f215a82b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -82,6 +82,7 @@ func PostReturn(ctx context.Context, url string, header map[string]string, input
}
func callBackPostReturn(ctx context.Context, url, command string, input interface{}, output callbackstruct.CallbackResp, callbackConfig config.CallBackConfig) error {
log.ZDebug(ctx, "callback", "url", url, "command", command, "input", input, "callbackConfig", callbackConfig)
v := urlLib.Values{}
v.Set(constant.CallbackCommand, command)
url = url + "?" + v.Encode()