Browse Source

rm price = 0

token_replace
黄梓健 4 years ago
parent
commit
bc6fd148c1
  1. 3
      controllers/client/good.go

3
controllers/client/good.go

@ -237,8 +237,9 @@ func (t *GoodCtl) Order() {
Postage: option.PostFee,
}
amount := price + int(option.PostFee*100)
res := make(map[string]interface{})
if amount > 0.00 {
res, err := pay_service.UnifiedOrder("欧轩互动-直播商品", user.Openid, amount, 4, userId,
res, err = pay_service.UnifiedOrder("欧轩互动-直播商品", user.Openid, amount, 4, userId,
activity.Id, expireAt)
if err != nil {

Loading…
Cancel
Save