|
@@ -33,7 +33,7 @@
|
|
商家地址
|
|
商家地址
|
|
</view>
|
|
</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
- <input type="text" v-model="dto.address" border="none" placeholder="请输入" style="height: 48rpx;" />
|
|
|
|
|
|
+ <input type="text" v-model="dto.areaDetail" border="none" placeholder="请输入" style="height: 48rpx;" />
|
|
</view>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
</view>
|
|
@@ -97,19 +97,17 @@
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
getInfo() {
|
|
getInfo() {
|
|
- this.$api.get('/merchant/merchantFisherman/home/' + uni.getStorageSync('merchantId'), {
|
|
|
|
-
|
|
|
|
- }).then(res => {
|
|
|
|
- if (res.data.code == 0) {
|
|
|
|
- this.dto = res.data.data;
|
|
|
|
- if (!res.data.data.shopSign) {
|
|
|
|
- this.dto.shopSign =
|
|
|
|
- 'https://i.ringzle.com/file/20240225/26feb8cc8f744123a980211ebdfb8d40.png';
|
|
|
|
- }
|
|
|
|
- // this.shopImgs = res.data.data.split(',');
|
|
|
|
-
|
|
|
|
- // console.log(this.shopImgs)
|
|
|
|
- }
|
|
|
|
|
|
+ this.$api.get('/api/merchant/food/merchant/' + uni.getStorageSync('merchantId')).then(res => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ if (res.data.code == 0) {
|
|
|
|
+ this.dto = res.data.data;
|
|
|
|
+ if (!res.data.data.shopSign) {
|
|
|
|
+ this.dto.shopSign =
|
|
|
|
+ 'https://i.ringzle.com/file/20240225/26feb8cc8f744123a980211ebdfb8d40.png';
|
|
|
|
+ }
|
|
|
|
+ //this.shopImgs = res.data.data.split(',');
|
|
|
|
+ console.log(this.shopImgs)
|
|
|
|
+ }
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 上传头像
|
|
// 上传头像
|