Commit 5e4b985f authored by 肖健's avatar 肖健

更改接口地址

parent 3fb01edd
......@@ -75,7 +75,7 @@ export default {
},
//检查挪车码存在、是否绑定
getCheckMoveCode(){
let opts = { url: '/app/index/check/move/code', method: 'post' };
let opts = { url: '/app/user/check/move/code', method: 'post' };
this.http.httpTokenRequest(opts, {code:this.scene}).then(res => {
if (res.data.code == 200) {
this.checkCode = res.data.data
......@@ -146,7 +146,7 @@ export default {
if(this.scene) {
let param = {code : this.scene}
opts = { url: '/app/index/check/move/code', method: 'post' }
opts = { url: '/app/user/check/move/code', method: 'post' }
that.http.httpTokenRequest(opts, param).then(res => {
if (res.data.code == 200) {
if(res.data.data.bindFlag) {
......@@ -233,7 +233,7 @@ export default {
uni.setStorageSync('xcxIndexPath', res.data.data.xcxIndexPath);
if(that.scene) {
let param = {code : this.scene}
opts = { url: '/app/index/check/move/code', method: 'post' }
opts = { url: '/app/user/check/move/code', method: 'post' }
that.http.httpTokenRequest(opts, param).then(res => {
console.info(res);
if (res.data.code == 200) {
......
......@@ -81,7 +81,7 @@ export default {
code: scene
}
let opts = {
url: '/app/index/check/move/code',
url: '/app/user/check/move/code',
method: 'post'
}
......
......@@ -72,7 +72,7 @@ export default {
code: scene
}
let opts = {
url: '/app/index/check/move/code',
url: '/app/user/check/move/code',
method: 'post'
}
console.log(param);
......
......@@ -82,7 +82,7 @@ export default {
code: scene
}
let opts = {
url: '/app/index/check/move/code',
url: '/app/user/check/move/code',
method: 'post'
}
......
......@@ -88,7 +88,7 @@ export default {
load(paging) {
setTimeout(() => {
let opts = {
url: '/app/mall/list?pageSize=' + paging.size + '&pageNum=' + paging.page,
url: '/app/index/mall/list?pageSize=' + paging.size + '&pageNum=' + paging.page,
method: 'get'
};
this.http.httpTokenRequest(opts, {
......@@ -121,7 +121,7 @@ export default {
},
getMallList() {
let opts = {
url: '/app/mall/list',
url: '/app/index/mall/list',
method: 'get'
};
this.http.httpTokenRequest(opts, {
......@@ -134,7 +134,7 @@ export default {
},
getBoutiqueMallList() {
let opts = {
url: '/app/mall/list',
url: '/app/index/mall/list',
method: 'get'
};
this.http.httpTokenRequest(opts, {
......
......@@ -48,7 +48,7 @@ export default {
})
},
getMallInfo(){
let opts = { url: '/app/mall/' + this.id, method: 'get' };
let opts = { url: '/app/index/mall/' + this.id, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => {
if (res.data.code == 200) {
this.mallInfo = res.data.data
......
......@@ -158,7 +158,7 @@ export default {
},
getMallInfo(){
let opts = { url: '/app/mall/' + this.id, method: 'get' };
let opts = { url: '/app/index/mall/' + this.id, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => {
if (res.data.code == 200) {
this.mallInfo = res.data.data
......
......@@ -52,7 +52,7 @@ export default {
searchVal: this.keyword
}
console.log(searchCondition)
let opts = { url: '/app/mall/list', method: 'get' };
let opts = { url: '/app/index/mall/list', method: 'get' };
this.http.httpTokenRequest(opts, searchCondition).then(res => {
if(res.data.code == 200){
this.items = res.data.data.rows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment