diff --git a/common/api/user.js b/common/api/user.js index 944b6cd..542b30a 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -475,9 +475,9 @@ export default { return vm.$u.post("Expertapply/hobbyList") }, // 达人申请 - applyExpert({ name, mobile, idCard, address, industry, hobby }) { + applyExpert({ name, mobile, idcard, address, industry, hobby }) { return vm.$u.post("Expertapply/expertApply", { - name, mobile, idCard, address, industry, hobby + name, mobile, idcard, address, industry, hobby }) }, getInvoiceList() { diff --git a/pageE/more/ApplyLive.vue b/pageE/more/ApplyLive.vue index 214b31b..c0b5e5a 100644 --- a/pageE/more/ApplyLive.vue +++ b/pageE/more/ApplyLive.vue @@ -152,10 +152,10 @@ export default { this.$u.toast('身份证号不可为空'); return false; } - if(!this.$u.test.idCard(this.idCard)) { - this.$u.toast('请正确填写身份证号'); - return false; - } + // if(!this.$u.test.idCard(this.idCard)) { + // this.$u.toast('请正确填写身份证号'); + // return false; + // } // if(this.$u.test.isEmpty(this.address)) { // this.$u.toast('地址不能为空'); // return false; @@ -181,7 +181,7 @@ export default { this.$u.api.applyExpert({ name: this.name, mobile: this.phone, - idCard: this.idCard, + idcard: this.idCard, address: this.address + this.details, industry: this.checkedIndustryList, hobby: this.checkedHobbyList,