diff --git a/pages/home/certificate/index.js b/pages/home/certificate/index.js index b463c0a..f2932e5 100644 --- a/pages/home/certificate/index.js +++ b/pages/home/certificate/index.js @@ -72,18 +72,8 @@ Page({ identifyEnterprise(params).then(result => { // 修改个人信息 app.globalData.userInfo.isEnterpriseAuth = 1 - var data = { numberOfFactoryPackageMachine: this.data.form.numberOfFactoryPackageMachine } - data.numberOfFactoryEmployee = this.data.form.numberOfEmployee - data.shipmentPerMonth = this.data.form.shipmentPerMonth - data.packageFactoryArea = this.data.form.packageFactoryArea - data.experienceTag = this.data.form.experienceTag - updateUserInfo(data).then(result => { - wx.hideLoading() - util.showBackToast('企业验证成功') - }).catch(error => { - wx.hideLoading() - util.showToast(error) - }) + wx.hideLoading() + util.showBackToast('企业验证成功') }).catch(error => { wx.hideLoading() util.showToast(error)