Browse Source

区域二维码

chenjj 3 months ago
parent
commit
116e51d862
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/layout/components/Sidebar/qrCode.vue
  2. 1 1
      vite.config.js

+ 1 - 1
src/layout/components/Sidebar/qrCode.vue

@@ -65,7 +65,7 @@ const openDialog = async () => {
     try {
         const res = await getInviteQrCode({
             referrerType: areaType.value === '3' ? '2' : '3',//推荐者类型 1用户 2区域公司 3服务中心
-            referrerId: userStore.user.userId,//推荐者id(用户id/区域id/服务中心id)
+            referrerId: userStore.user.deptId,//推荐者id(用户id/区域id/服务中心id)
             page: 'pages/login'
         });
         console.log("TCL: openDialog -> res", res)

+ 1 - 1
vite.config.js

@@ -39,7 +39,7 @@ export default defineConfig(({ mode, command }) => {
         '/dev-api': {
           // target: 'http://192.168.100.139:9527',
           // target: 'https://zybooks.tech/prod-api', 
-          target: 'http://192.168.100.128:9527',
+          target: 'http://192.168.100.122:9527',
           // target: 'https://goldshulin.com/prod-api',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')