Commit 4a874332 by crushh

Merge branch 'feature/act-code' of http://git.gicdev.com/office/haoban-3 into feature/act-code

parents 99533e01 6b1d8c2a
......@@ -15,11 +15,11 @@ module.exports = {
'^/haoban-manage3-web': ''
}
},
'/api/': {
target: 'https://www.gicdev.com/',
'/api-plug/': {
target: 'https://www.gicdev.com/api-plug/',
changeOrigin: true,
pathRewrite: {
'^/api': ''
'^/api-plug': ''
}
},
'/haoban-app-customer-web/': {
......
......@@ -334,7 +334,7 @@ export default {
this.getStore();
},
async getStore() {
await postRequest(`/api/api-plug/query-store-by-code-name-new?requestProject=haoban-manage-web`, this.storeParam).then(res => {
await postRequest(`/api-plug/query-store-by-code-name-new?requestProject=haoban-manage-web`, this.storeParam).then(res => {
if (res.data.errorCode == 0) {
this.storeParam.total = res.data.totalCount;
if (Array.isArray(res.data.result.result)) {
......@@ -356,7 +356,7 @@ export default {
},
// 获取导购列表数据
async getStraff() {
await postRequest(`/api/api-plug/search-clerk?type=2`, { name: this.name }).then(res => {
await postRequest(`/api-plug/search-clerk?type=2`, { name: this.name }).then(res => {
if (res.data.errorCode == 0) {
this.memberList = res.data.result || [];
}
......
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