|
@@ -73,8 +73,8 @@ public class WxService {
|
|
|
String amout=p.getAmount().multiply(new BigDecimal(100)).stripTrailingZeros().toPlainString();
|
|
String amout=p.getAmount().multiply(new BigDecimal(100)).stripTrailingZeros().toPlainString();
|
|
|
data.put("total_fee", amout);
|
|
data.put("total_fee", amout);
|
|
|
data.put("spbill_create_ip", ip); // 下单ip
|
|
data.put("spbill_create_ip", ip); // 下单ip
|
|
|
-// String openId=(String) TokenManager.getVal2Session("openId");
|
|
|
|
|
- String openId="oGNT65WX5ysEnCUmAvaXOdIrMswA";
|
|
|
|
|
|
|
+ String openId=(String) TokenManager.getVal2Session("openId");
|
|
|
|
|
+// String openId="oGNT65WX5ysEnCUmAvaXOdIrMswA";
|
|
|
if (StringUtils.isBlank(openId)) {
|
|
if (StringUtils.isBlank(openId)) {
|
|
|
throw new BusinessException("无法获取正确的openId");
|
|
throw new BusinessException("无法获取正确的openId");
|
|
|
}
|
|
}
|