Commit 7facf74f authored by 肖健's avatar 肖健

更改为非token请求

parent 66948fdc
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
url: '/app/index/mall/list?pageSize=' + paging.size + '&pageNum=' + paging.page, url: '/app/index/mall/list?pageSize=' + paging.size + '&pageNum=' + paging.page,
method: 'get' method: 'get'
}; };
this.http.httpTokenRequest(opts, { this.http.httpRequest(opts, {
classification: "2" classification: "2"
}).then(res => { }).then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
}, },
getMallInfo(){ getMallInfo(){
let opts = { url: '/app/index/mall/' + this.id, method: 'get' }; let opts = { url: '/app/index/mall/' + this.id, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => { this.http.httpRequest(opts, {}).then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.mallInfo = res.data.data this.mallInfo = res.data.data
this.list6 = this.mallInfo.imageUrls this.list6 = this.mallInfo.imageUrls
......
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
}, },
getMallInfo(){ getMallInfo(){
let opts = { url: '/app/index/mall/' + this.id, method: 'get' }; let opts = { url: '/app/index/mall/' + this.id, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => { this.http.httpRequest(opts, {}).then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.mallInfo = res.data.data this.mallInfo = res.data.data
} }
......
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
} }
console.log(searchCondition) console.log(searchCondition)
let opts = { url: '/app/index/mall/list', method: 'get' }; let opts = { url: '/app/index/mall/list', method: 'get' };
this.http.httpTokenRequest(opts, searchCondition).then(res => { this.http.httpRequest(opts, searchCondition).then(res => {
if(res.data.code == 200){ if(res.data.code == 200){
this.items = res.data.data.rows 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