Prechádzať zdrojové kódy

提料bug,缺少api

HHE-5476 3 hodín pred
rodič
commit
e7a804556b
3 zmenil súbory, kde vykonal 18 pridanie a 66 odobranie
  1. 8 0
      api/payment.js
  2. 2 2
      config/app.js
  3. 8 64
      pages.json

+ 8 - 0
api/payment.js

@@ -20,3 +20,11 @@ export function queryPaymentStatus(orderNo) {
     orderNo,
   });
 }
+
+/**
+ * 提料 - 根据订单号完成订单
+ * @param {string} orderNo - 订单编号
+ */
+export function goldPrincipalCompleteOrder(params) {
+  return request.get("goldprincipal/complete-plate-exchange-order", params);
+}

+ 2 - 2
config/app.js

@@ -1,8 +1,8 @@
 // let domain = "https://www.shuibeibyg.com/front-api"; // 正式环境IP
-let domain = "https://test.shuibeibyg.com/front-api"; // 测试环境IP
+// let domain = "https://test.shuibeibyg.com/front-api"; // 测试环境IP
 // let domain = 'http://192.168.100.199:8081' // 晋守桦IP
 // let domain = 'http://192.168.100.246:8081' // 韩朝龙IP
-// let domain = "http://192.168.3.29:8081"; // 宏广IP
+let domain = "http://192.168.3.29:8081"; // 宏广IP
 let share = "https://www.shuibeibyg.com";
 
 let imgUrl =

+ 8 - 64
pages.json

@@ -73,14 +73,7 @@
       "style": {
         "navigationBarTitleText": "订单详情",
         "navigationBarBackgroundColor": "#ffffff",
-        "navigationBarTextStyle": "black",
-        "app-plus": {
-          // #ifdef APP-PLUS
-          "titleNView": {
-            "type": "default"
-          }
-          // #endif
-        }
+        "navigationBarTextStyle": "black"
       }
     },
     {
@@ -173,14 +166,7 @@
           "style": {
             "navigationBarTitleText": "地址管理",
             "navigationBarBackgroundColor": "#fff",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -188,14 +174,7 @@
           "style": {
             "navigationBarTitleText": "新增地址",
             "navigationBarBackgroundColor": "#fff",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -219,14 +198,7 @@
           "style": {
             "navigationBarTitleText": "退货列表",
             "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -251,14 +223,7 @@
           "style": {
             "navigationBarTitleText": "实名认证",
             "navigationBarBackgroundColor": "#FFFFFF",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -266,14 +231,7 @@
           "style": {
             "navigationBarTitleText": "申请退货",
             "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -281,14 +239,7 @@
           "style": {
             "navigationBarTitleText": "申请退货",
             "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         },
         {
@@ -296,14 +247,7 @@
           "style": {
             "navigationBarTitleText": "物流信息",
             "navigationBarBackgroundColor": "#ffe079",
-            "navigationBarTextStyle": "black",
-            "app-plus": {
-              // #ifdef APP-PLUS
-              "titleNView": {
-                "type": "default"
-              }
-              // #endif
-            }
+            "navigationBarTextStyle": "black"
           }
         }
       ]