Browse Source

update

three
DengBiao 1 year ago
parent
commit
c8a9127e06
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      app/svc/svc_send_red_package.go

+ 2
- 0
app/svc/svc_send_red_package.go View File

@@ -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,


Loading…
Cancel
Save