diff --git a/packages/shopEnter/index/index.vue b/packages/shopEnter/index/index.vue
index 4410d29c..53aa882f 100644
--- a/packages/shopEnter/index/index.vue
+++ b/packages/shopEnter/index/index.vue
@@ -49,7 +49,7 @@
商家分类
-
+
@@ -115,7 +115,7 @@
@cancel="cancelCity">
-
@@ -301,7 +301,7 @@ export default {
duration: 2000
});
}
- if (!that.confirmClassify.ad_code) {
+ if (!that.confirmClassify.id) {
return uni.showToast({
title: '请选择商家分类',
duration: 2000
@@ -327,7 +327,7 @@ export default {
facade_photo,
interior_photo,
license_photo,
- classify_code: that.confirmClassify.ad_code,
+ merchant_cate_id: that.confirmClassify.id,
}).then(res => {
that.contact_name = ''
that.contact_phone = ''
@@ -370,20 +370,9 @@ export default {
})
},
getClassify(e) {
- this.classify = [
- {
- ad_code: "1",
- short_name: "111"
- },
- {
- ad_code: "2",
- short_name: "222"
- },
- {
- ad_code: "3",
- short_name: "333"
- },
- ]
+ request(apiArr.getMerChantCateList, "POST", {}).then(res => {
+ this.classify = res.rows
+ })
},
},