Ver a proveniência

update

master
DengBiao há 1 ano
ascendente
cometimento
ed192a6383
1 ficheiros alterados com 2 adições e 2 eliminações
  1. +2
    -2
      app/hdl/hdl_wx.go

+ 2
- 2
app/hdl/hdl_wx.go Ver ficheiro

@@ -216,12 +216,12 @@ func DealCallBack(openId, ticket string) error {
//4、发送微信红包
post, err := utils.CurlPost("http://pay.izhyin.com/wx/redPackage/index", map[string]string{
"openid": openId,
"amount": utils.Float64ToStr(utils.StrToFloat64(qrcodeWithBatchRecord.Amount) * 100),
"amount": utils.Int64ToStr(utils.StrToInt64(qrcodeWithBatchRecord.Amount) * 100),
}, nil)
utils.FilePutContents("send_redPackage", utils.SerializeStr(map[string]interface{}{
"args": map[string]string{
"openid": openId,
"amount": utils.Float64ToStr(utils.StrToFloat64(qrcodeWithBatchRecord.Amount) * 100),
"amount": utils.Int64ToStr(utils.StrToInt64(qrcodeWithBatchRecord.Amount) * 100),
},
"resp": post,
}))


Carregando…
Cancelar
Guardar