diff --git a/app/svc/svc_send_red_package.go b/app/svc/svc_send_red_package.go index 1e6c7b4..db7de8c 100644 --- a/app/svc/svc_send_red_package.go +++ b/app/svc/svc_send_red_package.go @@ -6,10 +6,12 @@ import ( "applet/consume/md" "encoding/json" "errors" + "time" ) // CurlSendRedPackage 发送专属红包 func CurlSendRedPackage(args md.SendRedPackageReq, masterId, userId string) (error, map[string]interface{}) { + time.Sleep(time.Duration(10) * time.Second) url := cfg.AppComm.URL + "/api/v1/comm/pay/balance_pay/im_send_red_package" utils.FilePutContents("CurlSendRedPackage", utils.SerializeStr(map[string]interface{}{ "data": args,