zhaoy 6 лет назад
Родитель
Сommit
f54952167d

+ 2 - 1
src/main/java/com/uas/erp/schedular/mall/task/OrderTask.java

@@ -48,6 +48,7 @@ import java.util.Map;
 public class OrderTask extends AbstractTask {
 
     private static final String BASEPATH_TRADE = "https://malltraderest.usoftchina.com";
+    //private static final String BASEPATH_TRADE = "https://malltraderest.uuzcc.cn";
 
     private static final Logger LOGGER = LoggerFactory.getLogger(OrderTask.class);
 
@@ -61,7 +62,7 @@ public class OrderTask extends AbstractTask {
             JSONObject json = new JSONObject();
             json.put("secretId", master.getMa_uu());
             json.put("signature", "");
-            json.put("DeliverReq", orderDeliverList);
+            json.put("orderDeliver", orderDeliverList);
             String signatureValues = OpenApiSignUtil.sign(JSON.toJSONString(json), master.getMa_accesssecret());
             json.put("signature", signatureValues);
 

+ 6 - 6
src/main/java/com/uas/erp/schedular/mall/task/ProductTask.java

@@ -270,15 +270,15 @@ public class ProductTask extends AbstractTask {
         return list;
     }
 
-/*    private final static String SECRETKEY = "58177a621f4645398c92e93768002de7";
+    private final static String SECRETKEY = "58177a621f4645398c92e93768002de7";
     private final static String SECRETUU = "10044412";
     private final static String BASEPATH_PRODUCT = "https://mallproductrest.usoftchina.com";
-    private final static String BASEPATH_TRADE = "https://malltraderest.usoftchina.com";*/
+    private final static String BASEPATH_TRADE = "https://malltraderest.usoftchina.com";
 
-    private final static String SECRETKEY = "c49f7be6a861461ab951e55030055a5c";
-    private final static String SECRETUU = "50000089";
-    private final static String BASEPATH_PRODUCT = "https://mallproductrest.uuzcc.cn";
-    private final static String BASEPATH_TRADE = "https://malltraderest.uuzcc.cn";
+//    private final static String SECRETKEY = "c49f7be6a861461ab951e55030055a5c";
+//    private final static String SECRETUU = "50000089";
+//    private final static String BASEPATH_PRODUCT = "https://mallproductrest.uuzcc.cn";
+//    private final static String BASEPATH_TRADE = "https://malltraderest.uuzcc.cn";
 //    private final static String BASEPATH = "http://10.1.80.79:25320";
 
     /**