Browse Source

更新 项目配置

wzh 3 years ago
parent
commit
194e4e8036

+ 1 - 1
miniprogram/apis/apiConfig.js

@@ -1,5 +1,5 @@
 let v = wx.getAccountInfoSync()
-let apiUrl = `${v.miniProgram.envVersion == 'release'?'https://interface.huihenduo.com.cn/hhd-pat-cargo-app/':'https://interface.huihenduo.com.cn/hhd-pat-cargo-app-dev/'}`
+let apiUrl = `${v.miniProgram.envVersion == 'release'?'https://interface.huihenduo.cc/hhd-cargo/':'https://interface.huihenduo.cc/hhd-cargo-dev/'}`
 
 function api(url, data, method) {
   return new Promise((resolve, reject) => {

+ 1 - 1
miniprogram/components/voyages/voyages.js

@@ -71,7 +71,7 @@ Component({
       this.setData({
         isFreshing: true
       })
-      let res = await postApi('/voyage/list', {
+      let res = await postApi('/voyage/wx/list', {
         loginAccountId: wx.getStorageSync('loginAccountId'),
         term: this.data.term,
         status: this.data.status,

+ 1 - 1
miniprogram/pages/voyages/detail/detail.js

@@ -41,7 +41,7 @@ Page({
   },
 
   async getVoyageDetail() {
-    let res = await postApi("/voyage/detail", {
+    let res = await postApi("/voyage/wx/detail", {
       voyageId: this.data.id,
       isClient: wx.getStorageSync('isClient'),
       loginAccountId: wx.getStorageSync('loginAccountId'),

+ 1 - 1
project.private.config.json

@@ -41,7 +41,7 @@
     }
   },
   "setting": {
-    "urlCheck": true,
+    "urlCheck": false,
     "coverView": true,
     "compileHotReLoad": false,
     "lazyloadPlaceholderEnable": false,