Commit c4ce6bbf by 黑潮

update: 接口修改

parent c9f0cc0b
......@@ -313,18 +313,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId() {
request.get('/api-auth/get-login-user-info').then(res => {
request.get('/api-integral-mall/can-differential-pricing').then(res => {
if (res.data.errorCode === 0) {
this.enterpriseId = res.data.result.enterpriseId;
let id1 = 'ff8080815dacd3a2015dacd3ef5c0000';
let id2 = 'ff80808163218c030163429b47110635';
let id3 = 'ff8080816f12b5c0016f1d5896820147';
let id4 = 'ff8080816a36326c016a53380d8b5f52';
if (this.enterpriseId === id1 || this.enterpriseId === id2 || this.enterpriseId === id3 || this.enterpriseId === id4) {
this.specialOrder = true;
} else {
this.specialOrder = false;
}
this.specialOrder = res.data.result == 1;
} else {
this.$message.error(res.data.message);
}
......
......@@ -513,18 +513,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId() {
request.get('/api-auth/get-login-user-info').then(res => {
request.get('/api-integral-mall/can-differential-pricing').then(res => {
if (res.data.errorCode === 0) {
this.enterpriseId = res.data.result.enterpriseId;
let id1 = 'ff8080815dacd3a2015dacd3ef5c0000';
let id2 = 'ff80808163218c030163429b47110635';
let id3 = 'ff8080816f12b5c0016f1d5896820147';
let id4 = 'ff8080816a36326c016a53380d8b5f52';
if (this.enterpriseId === id1 || this.enterpriseId === id2 || this.enterpriseId === id3 || this.enterpriseId === id4) {
this.specialOrder = true;
} else {
this.specialOrder = false;
}
this.specialOrder = res.data.result == 1;
} else {
this.$message.error(res.data.message);
}
......
......@@ -315,18 +315,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId() {
request.get('/api-auth/get-login-user-info').then(res => {
request.get('/api-integral-mall/can-differential-pricing').then(res => {
if (res.data.errorCode === 0) {
this.enterpriseId = res.data.result.enterpriseId;
let id1 = 'ff8080815dacd3a2015dacd3ef5c0000';
let id2 = 'ff80808163218c030163429b47110635';
let id3 = 'ff8080816f12b5c0016f1d5896820147';
let id4 = 'ff8080816a36326c016a53380d8b5f52';
if (this.enterpriseId === id1 || this.enterpriseId === id2 || this.enterpriseId === id3 || this.enterpriseId === id4) {
this.specialOrder = true;
} else {
this.specialOrder = false;
}
this.specialOrder = res.data.result == 1;
} else {
this.$message.error(res.data.message);
}
......
......@@ -686,18 +686,9 @@ export default {
// 地素 ff80808163218c030163429b47110635
// 地素测试 ff8080816f12b5c0016f1d5896820147
getUserId() {
request.get('/api-auth/get-login-user-info').then(res => {
request.get('/api-integral-mall/can-differential-pricing').then(res => {
if (res.data.errorCode === 0) {
this.enterpriseId = res.data.result.enterpriseId;
let id1 = 'ff8080815dacd3a2015dacd3ef5c0000';
let id2 = 'ff80808163218c030163429b47110635';
let id3 = 'ff8080816f12b5c0016f1d5896820147';
let id4 = 'ff8080816a36326c016a53380d8b5f52';
if (this.enterpriseId === id1 || this.enterpriseId === id2 || this.enterpriseId === id3 || this.enterpriseId === id4) {
this.specialOrder = true;
} else {
this.specialOrder = false;
}
this.specialOrder = res.data.result == 1;
} else {
this.$message.error(res.data.message);
}
......
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