diff --git a/api/join.js b/api/join.js index 4e51580..d8b6d8c 100644 --- a/api/join.js +++ b/api/join.js @@ -59,3 +59,8 @@ export function saveWholesaler(wholesalerInfo) { export function removeApply() { return request.post("/merchantApply/revoke") } + +// 特色店铺入驻信息 +export function getHotelInfo(params) { + return request.get("merchantApply/info/hotel", params, {login: true}) +} diff --git a/pkg_join/views/shop.vue b/pkg_join/views/shop.vue index 2360dbc..c69cac8 100644 --- a/pkg_join/views/shop.vue +++ b/pkg_join/views/shop.vue @@ -411,7 +411,8 @@ import { getShopData, getShopInfo, removeApply, - saveShop + saveShop, + getHotelInfo } from '@/api/join' import { getCity, @@ -650,7 +651,7 @@ export default { }, initInfo(flag) { - getShopInfo().then(({data}) => { + getHotelInfo().then(({data}) => { if (data.partnerId != null) { this.partnerId = data.partnerId }