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