|
@@ -6,6 +6,7 @@ import com.community.commom.mode.ResponseBean;
|
6
|
6
|
import com.community.huiju.common.perproties.PayNotifyPerproties;
|
7
|
7
|
import com.community.huiju.common.wxmp.WxMPUtil;
|
8
|
8
|
import com.community.huiju.common.wxpay.HfWxConfig;
|
|
9
|
+import com.community.huiju.common.wxpay.QaddWxConfig;
|
9
|
10
|
import com.community.huiju.common.wxpay.WXPay;
|
10
|
11
|
import com.community.huiju.common.wxpay.WXPayConstants;
|
11
|
12
|
import com.community.huiju.common.wxpay.WXPayUtil;
|
|
@@ -83,7 +84,7 @@ public class WxMPUserServiceImpl implements WxMPUserServiceI {
|
83
|
84
|
*/
|
84
|
85
|
@Override
|
85
|
86
|
public Map<String, String> wxTmpOrder(String carNo, String actualAmount, Integer communityId, String openid, BigDecimal price) throws Exception {
|
86
|
|
- HfWxConfig config = new HfWxConfig();
|
|
87
|
+ QaddWxConfig config = new QaddWxConfig();
|
87
|
88
|
WXPay wxpay = new WXPay(config);
|
88
|
89
|
Random random = new Random();
|
89
|
90
|
String orderNo = String.valueOf(System.currentTimeMillis()) + random.nextInt();
|