DengBiao 1 anno fa
parent
commit
c8a9127e06
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      app/svc/svc_send_red_package.go

+ 2
- 0
app/svc/svc_send_red_package.go Vedi 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,


Caricamento…
Annulla
Salva