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