diff --git a/api/qianxian.js b/api/qianxian.js index ae02d43..9da7bd1 100644 --- a/api/qianxian.js +++ b/api/qianxian.js @@ -260,3 +260,10 @@ export function getJiaLouNewsList(params) { export function getShareHousekeeper(id) { return request.get('/travel/steward/poster/' + id, {login: true}) } + +/** + * 管家详情 + */ +export function getJiaLouStewardDetail(id) { + return request.get('/travel/steward/' + id, {}, {login: true}) +} diff --git a/pkg_product/views/famousQianxianShop.vue b/pkg_product/views/famousQianxianShop.vue index 1c88bd1..3373fa0 100644 --- a/pkg_product/views/famousQianxianShop.vue +++ b/pkg_product/views/famousQianxianShop.vue @@ -839,6 +839,7 @@ export default { onLoad(options) { const id = options.id || '' this.id = id + if (id) { this.partnerId = options.partnerId || null } else { @@ -847,6 +848,7 @@ export default { const query = options ? decodeURIComponent(options.scene) : decodeURIComponent(obj.query.scene) this.partnerId = getUrlParam(query, 'partnerId') || null this.id = getUrlParam(query, 'id') || null + } } if (this.partnerId) cookie.set('spread', this.partnerId) diff --git a/pkg_product/views/housekeeperDetail.vue b/pkg_product/views/housekeeperDetail.vue index 144e2fa..1ecf647 100644 --- a/pkg_product/views/housekeeperDetail.vue +++ b/pkg_product/views/housekeeperDetail.vue @@ -75,8 +75,9 @@