gjy преди 3 години
родител
ревизия
d0f506aeda
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      pages/user/user.vue

+ 3 - 1
pages/user/user.vue

@@ -308,7 +308,9 @@
 					}
 				})
 				if(!uni.getStorageSync('compName')){
-					this.$api.doRequest('get', '/commonUser/getComp').then(res => {
+					this.$api.doRequest('get', '/openServiceInfo/selectCommonCompany', {
+				phone: this.userInfo.phone
+			}).then(res => {
 						if (res.data.data) {
 							this.companyList=res.data.data
 							if(this.companyList.length>0){