浏览代码

添加商户编号

yq 3 年之前
父节点
当前提交
1ebccfa368

+ 1 - 1
src/main/java/com/usky/dxtop/service/impl/OrderServiceImpl.java

@@ -503,7 +503,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
         verifyOrder(order);
         String orderNumber = order.getOrderNumber();
         TreeMap<String, String> params = topApiConfiger.generateUnifyParam(orderNumber,new Double(Arith.mul(order.getMoney().doubleValue(),100)).intValue(),
-                null, null,
+                topApiConfiger.notifyUrl, null,
                 null,null,openId,order.getTopPayType(),null,appId,
                 null,null,null,null);
         String unify = topApiConfiger.generateParam(params);

+ 9 - 9
src/main/resources/application-dev.properties

@@ -106,12 +106,12 @@ spring.rabbitmq.password=admin
 # 开启confirms回调 P -> Exchange
 spring.rabbitmq.publisher-confirm-type=correlated
 # 通云支付配置
-toppay.version:v1.0
-toppay.merchantNo:121050000127
-toppay.secret:MTEODEKT
-toppay.wxAppId:wx40274c2aaec24330
-toppay.wxAppSecret:4b0c04f796a8bed2c2435cc68362b22b
-toppay.notifyUrl:https://wx.ewoogi.com/dxapi/top/notify
-toppay.scanPayUrl:https://interface.allinpaygx.com/api/access/payInterface/usePaymentCode
-toppay.dealSelectUrl:https://interface.allinpaygx.com/api/access/payInterface/findOrderInfo
-toppay.unifyUrl:https://interface.allinpaygx.com/api/access/payInterface/unifiedPay
+toppay.version=v1.0
+toppay.merchantNo=553611048165UDU
+toppay.secret=18577770852
+toppay.wxAppId=wx40274c2aaec24330
+toppay.wxAppSecret=4b0c04f796a8bed2c2435cc68362b22b
+toppay.notifyUrl=https://wx.ewoogi.com/dxapi/top/notify
+toppay.scanPayUrl=https://interface.allinpaygx.com/api/access/payInterface/usePaymentCode
+toppay.dealSelectUrl=https://interface.allinpaygx.com/api/access/payInterface/findOrderInfo
+toppay.unifyUrl=https://interface.allinpaygx.com/api/access/payInterface/unifiedPay

+ 9 - 10
src/main/resources/application-test.properties

@@ -100,13 +100,12 @@ spring.rabbitmq.password=123456
 spring.rabbitmq.publisher-confirm-type=correlated
 
 # 通云支付配置
-toppay.version:v1.0
-toppay.merchantNo:121050000127
-toppay.secret:MTEODEKT
-toppay.wxAppId:wx40274c2aaec24330
-toppay.wxAppSecret:4b0c04f796a8bed2c2435cc68362b22b
-toppay.notifyUrl:https://wx.ewoogi.com/dxapi/top/notify
-toppay.scanPayUrl:https://wx.ewoogi.com/dxapi/top/notify
-toppay.dealSelectUrl:https://wx.ewoogi.com/dxapi/top/notify
-toppay.unifyUrl:https://wx.ewoogi.com/dxapi/top/notify
-
+toppay.version=v1.0
+toppay.merchantNo=553611048165UDU
+toppay.secret=18577770852
+toppay.wxAppId=wx40274c2aaec24330
+toppay.wxAppSecret=4b0c04f796a8bed2c2435cc68362b22b
+toppay.notifyUrl=https://wx.ewoogi.com/dxapi/top/notify
+toppay.scanPayUrl=https://interface.allinpaygx.com/api/access/payInterface/usePaymentCode
+toppay.dealSelectUrl=https://interface.allinpaygx.com/api/access/payInterface/findOrderInfo
+toppay.unifyUrl=https://interface.allinpaygx.com/api/access/payInterface/unifiedPay