|
@@ -23,6 +23,8 @@ public class AllInPayLogic {
|
|
|
|
|
|
@Value("${allIn.payment.notifyUrl}")
|
|
@Value("${allIn.payment.notifyUrl}")
|
|
private String notifyUrl;
|
|
private String notifyUrl;
|
|
|
|
+ @Value("${share.mall.appid}")
|
|
|
|
+ private String mallAppid;
|
|
|
|
|
|
@Resource
|
|
@Resource
|
|
CommonLogic commonLogic;
|
|
CommonLogic commonLogic;
|
|
@@ -39,7 +41,7 @@ public class AllInPayLogic {
|
|
reqMap.put("appid", order.getAppid());
|
|
reqMap.put("appid", order.getAppid());
|
|
if (SybConstants.PAY_TYPE_W06.equals(payType)) {
|
|
if (SybConstants.PAY_TYPE_W06.equals(payType)) {
|
|
reqMap.put("acct", order.getOpenid());
|
|
reqMap.put("acct", order.getOpenid());
|
|
- reqMap.put("sub_appid", "wx21d155e8a449d9b1");
|
|
|
|
|
|
+ reqMap.put("sub_appid", mallAppid);
|
|
}
|
|
}
|
|
reqMap.put("notify_url", this.notifyUrl);
|
|
reqMap.put("notify_url", this.notifyUrl);
|
|
reqMap.put("trxamt", (int) ArithUtils.mul(order.getPayValue().doubleValue(), 100) + "");
|
|
reqMap.put("trxamt", (int) ArithUtils.mul(order.getPayValue().doubleValue(), 100) + "");
|