|
@@ -268,7 +268,11 @@ public class ZfbPayController extends ZfbPayUtils {
|
|
.setTotalFee(params.get("total_amount"))
|
|
.setTotalFee(params.get("total_amount"))
|
|
.setPayType("支付宝支付");
|
|
.setPayType("支付宝支付");
|
|
//充值信息入库
|
|
//充值信息入库
|
|
- ZFBPay wxPayBala = new ZFBPay().setCode((params.get("body")).split(",")[2]).setUuid(uuid).setTotalFee(params.get("total_amount"));
|
|
|
|
|
|
+ ZFBPay wxPayBala = new ZFBPay()
|
|
|
|
+ .setCode((params.get("body")).split(",")[2])
|
|
|
|
+ .setUuid(uuid)
|
|
|
|
+ .setTotalFee(params.get("total_amount"))
|
|
|
|
+ .setPayType("支付宝支付");
|
|
zfbPayService.buySupplierBalance(wxPayBala); //充值记录录入
|
|
zfbPayService.buySupplierBalance(wxPayBala); //充值记录录入
|
|
zfbPayService.updateBuySupplier(buySupplier); //充值
|
|
zfbPayService.updateBuySupplier(buySupplier); //充值
|
|
} else if((params.get("body")).indexOf("gysOfferNum") != -1){ //报价单次数购买
|
|
} else if((params.get("body")).indexOf("gysOfferNum") != -1){ //报价单次数购买
|
|
@@ -279,7 +283,12 @@ public class ZfbPayController extends ZfbPayUtils {
|
|
.setOfferNum((params.get("body")).split(",")[3])
|
|
.setOfferNum((params.get("body")).split(",")[3])
|
|
.setPayType("支付宝支付");
|
|
.setPayType("支付宝支付");
|
|
//购买次数信息入库
|
|
//购买次数信息入库
|
|
- BuyOfferNum buyOfferNumAdd = new BuyOfferNum().setUuid(uuid).setOfferNum((params.get("body")).split(",")[3]).setCode((params.get("body")).split(",")[2]);
|
|
|
|
|
|
+ BuyOfferNum buyOfferNumAdd = new BuyOfferNum()
|
|
|
|
+ .setUuid(uuid)
|
|
|
|
+ .setOfferNum((params.get("body")).split(",")[3])
|
|
|
|
+ .setCode((params.get("body")).split(",")[2])
|
|
|
|
+ .setPayType("支付宝支付")
|
|
|
|
+ .setPayAmount(params.get("total_amount"));
|
|
zfbPayService.addBuyOfferNum(buyOfferNumAdd); //充值记录录入
|
|
zfbPayService.addBuyOfferNum(buyOfferNumAdd); //充值记录录入
|
|
zfbPayService.updateBuyOfferNum(buyOfferNum);//购买次数
|
|
zfbPayService.updateBuyOfferNum(buyOfferNum);//购买次数
|
|
} else { //报价单购买
|
|
} else { //报价单购买
|