Commit b54fbe9f authored by 肖健's avatar 肖健

更改为非token请求

parent 7facf74f
...@@ -80,10 +80,10 @@ export default { ...@@ -80,10 +80,10 @@ export default {
}, },
getMoveCode() { getMoveCode() {
let opts = { let opts = {
url: '/app/mall/free/code', url: '/app/index/free/code',
method: 'get' method: 'get'
}; };
this.http.httpTokenRequest(opts, {}).then(res => { this.http.httpTRequest(opts, {}).then(res => {
if (res.data.code == 200) { if (res.data.code == 200) {
this.freeCode = res.data.data this.freeCode = res.data.data
} }
......
...@@ -300,10 +300,10 @@ export default { ...@@ -300,10 +300,10 @@ export default {
}, },
getMoveCode() { getMoveCode() {
let opts = { let opts = {
url: '/app/mall/free/code', url: '/app/index/free/code',
method: 'get' 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.freeCode = res.data.data this.freeCode = res.data.data
} }
......
...@@ -171,10 +171,10 @@ export default { ...@@ -171,10 +171,10 @@ export default {
}, },
getMoveCode() { getMoveCode() {
let opts = { let opts = {
url: '/app/mall/free/code', url: '/app/free/code',
method: 'get' 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.freeCode = res.data.data this.freeCode = res.data.data
} }
......
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