htc 5 mesiacov pred
rodič
commit
443b999673

+ 1 - 1
http/index.js

@@ -338,7 +338,7 @@ async function detectionContent(content,type=1){
 				dataType:'json',
 				data:{
 					content,
-					openId:JSON.parse(uni.getStorageSync('userInfo')).openId
+					openId:uni.getStorageSync('userInfo').openId
 				},
 				success:res=>{
 					let result = {};

+ 1 - 1
pagesHouse/Mine/PersonalEditing/PersonalEditing.vue

@@ -168,7 +168,7 @@
 				this.dto.id = uni.getStorageSync('merchantId')
 				
 				this.$api.detectionContent(this.dto.name).then(result => {
-					if (result.code !== 0) return this.$showToast(result.code==87014?'店铺名称包含敏感违规信息':result.msg);
+					if (result.code !== 0) return this.$showToast(result.msg);
 					
 					this.$api.put('/api/merchant/food/updateMerchantInfo', this.dto).then(res => {
 						if (res.data.code == 0) {