diff --git a/api/request.ts b/api/request.ts index aa8d37c..f76486f 100644 --- a/api/request.ts +++ b/api/request.ts @@ -1,7 +1,10 @@ export const Url = 'http://localhost:9092/api' //后端接口文档 export const testUrl = 'http://123.249.108.160:8888/api' //自己组的服务器接口地址 -export const suiUrl = 'http://154.8.193.216:9092/api' //隋宇霏的接口地址 +export const develop = 'http://154.8.193.216:9092/api' //隋宇霏的接口地址(开发环境) +export const test = 'http://154.8.193.216:9093/api' //隋宇霏的接口地址(测试环境) export const domain = 'https://www.carboner.cn/api' export const myIp = 'http://8.130.119.119:9092/api' - +export const nwct = 'https://winning-mouse-internally.ngrok-free.app/api' +export const suiUrl = '' export const baseUrl = testUrl + \ No newline at end of file diff --git a/common/globalFunction.js b/common/globalFunction.js new file mode 100644 index 0000000..954d910 --- /dev/null +++ b/common/globalFunction.js @@ -0,0 +1,12 @@ +export const dealResult = (res) => { + let response = res.data + if (response.code !== 1) { + uni.showModal({ + title: '提示', + content: response.message, + showCancel: false + }) + return false + } + return response.data +} \ No newline at end of file diff --git a/pages.json b/pages.json index ffc58c8..554c210 100644 --- a/pages.json +++ b/pages.json @@ -263,6 +263,20 @@ { "navigationBarTitleText" : "" } + }, + { + "path" : "pages/activity/activityHome/activityHome", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/mine/PersonCenter/PersonCenter", + "style" : + { + "navigationBarTitleText" : "" + } } ], "plugins" : { diff --git a/pages/Shopping-cart/component/addProduct.vue b/pages/Shopping-cart/component/addProduct.vue index c39c174..ddc617d 100644 --- a/pages/Shopping-cart/component/addProduct.vue +++ b/pages/Shopping-cart/component/addProduct.vue @@ -43,6 +43,7 @@ + + diff --git a/pages/book/component/bookingSelected.vue b/pages/book/component/bookingSelected.vue index 01a62a5..afa89d9 100644 --- a/pages/book/component/bookingSelected.vue +++ b/pages/book/component/bookingSelected.vue @@ -42,9 +42,9 @@ 拍摄场地 - + - + 室内 - + diff --git a/pages/mine/component/contactPop.vue b/pages/mine/component/contactPop.vue index 6127740..7582c57 100644 --- a/pages/mine/component/contactPop.vue +++ b/pages/mine/component/contactPop.vue @@ -24,7 +24,7 @@