diff --git a/src/assets/img/mini-code.png b/src/assets/img/mini-code.png new file mode 100644 index 0000000..72678f4 Binary files /dev/null and b/src/assets/img/mini-code.png differ diff --git a/src/assets/img/mini-code1.png b/src/assets/img/mini-code1.png new file mode 100644 index 0000000..0e5754a Binary files /dev/null and b/src/assets/img/mini-code1.png differ diff --git a/src/router/index.js b/src/router/index.js index 7149a93..43a628c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -169,6 +169,11 @@ let router = new Router({ component: () => import('../views/join'), // meta: { title: '个人中心' } }, + { + path: '/success', + component: () => import('../views/join/success'), + // meta: { title: '个人中心' } + }, { path: '*', redirect: '/404' @@ -180,7 +185,7 @@ router.beforeEach(function(to, from, next) { // 根据路由元信息设置文档标题 window.document.title = to.meta.title || '中台'; //使用钩子函数对路由进行权限跳转 - if (!sessionStorage.getItem('token') && to.path !== '/login' && to.path !== '/join') { + if (!sessionStorage.getItem('token') && to.path !== '/login' && to.path !== '/join' && to.path !== '/success') { next('/login'); } else { next(); diff --git a/src/setting.js b/src/setting.js index 70e8e90..f688425 100644 --- a/src/setting.js +++ b/src/setting.js @@ -10,8 +10,8 @@ let host = `${location.origin}:9000/` if (isDev) { jumpPath = "http://192.168.31.125:8087/"; // 本地调试-需要启动本地判分点系统 // host = 'http://39.108.250.202:9000/' - host = 'http://192.168.31.151:9000/'// 榕 - // host = 'http://192.168.31.137:9000/'// 赓 + // host = 'http://192.168.31.151:9000/'// 榕 + host = 'http://192.168.31.137:9000/'// 赓 } else if (isPro) { jumpPath = "http://www.huorantech.cn/judgmentPoint/"; } diff --git a/src/utils/api.js b/src/utils/api.js index 3c87fe1..efe8c3b 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -269,5 +269,6 @@ export default { partnerAccountList: `nakadai/partnerAccount/partnerAccountList`, savePartnerAccount: `nakadai/partnerAccount/savePartnerAccount`, generateInvitationCode: `nakadai/partnerAccount/generateInvitationCode`, - generationQrCode: `nakadai/partnerAccount/generationQrCode `, + generationQrCode: `nakadai/partnerAccount/generationQrCode`, + queryUserInfoByPhone: `nakadai/partner-team/queryUserInfoByPhone`, }; \ No newline at end of file diff --git a/src/views/join/index.vue b/src/views/join/index.vue index feb855d..5181b83 100644 --- a/src/views/join/index.vue +++ b/src/views/join/index.vue @@ -11,14 +11,14 @@
加入成功
+你已加入城市合伙人计划
+请保存并用微信扫以下二维码打开城市合伙人小程序
+ +