|
|
|
@ -52,6 +52,7 @@ func Recharge(req *pb.InnerRechargeReq) (ret []byte, err error) { |
|
|
|
} |
|
|
|
} |
|
|
|
req.Channel = weightChannel |
|
|
|
req.Channel = weightChannel |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
_ = isReplace |
|
|
|
if req.Channel == 0 { |
|
|
|
if req.Channel == 0 { |
|
|
|
log.Error("get channel err, is 0") |
|
|
|
log.Error("get channel err, is 0") |
|
|
|
} |
|
|
|
} |
|
|
|
@ -74,8 +75,6 @@ func Recharge(req *pb.InnerRechargeReq) (ret []byte, err error) { |
|
|
|
} |
|
|
|
} |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|
values.PayFail(payWay) |
|
|
|
values.PayFail(payWay) |
|
|
|
} else if isReplace { |
|
|
|
|
|
|
|
values.PaySuccess(payWay) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
|