Your Name 3 years ago
parent
commit
78a6e00f25
3 changed files with 4 additions and 4 deletions
  1. 2
    2
      config/dev.js
  2. 1
    1
      src/constants/user.js
  3. 1
    1
      src/services/activity.js

+ 2
- 2
config/dev.js View File

@@ -3,8 +3,8 @@ module.exports = {
3 3
     NODE_ENV: '"development"'
4 4
   },
5 5
   defineConstants: {
6
-    HOST: '"https://xlk.njyz.tech"',
7
-    // HOST: '"http://127.0.0.1:8081"',
6
+    // HOST: '"https://xlk.njyz.tech"',
7
+    HOST: '"http://127.0.0.1:8081"',
8 8
     WSS_HOST: '"ws://127.0.0.1:8081"',
9 9
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
10 10
     OSS_FAST_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',

+ 1
- 1
src/constants/user.js View File

@@ -15,5 +15,5 @@ export const ROLE_CODE = {
15 15
   CHANNEL_AGENT: 'channel agent', // 渠道经纪人
16 16
   DRIFT: 'drift', // 游客
17 17
   CUSTOMER: 'customer', // 客户
18
-  MARKETING: 'marketing', //
18
+  MARKETING: 'marketing', // 驻场
19 19
 }

+ 1
- 1
src/services/activity.js View File

@@ -112,4 +112,4 @@ export const getGroupDetail = (id, recordId, payload, header) => fetch({ url: `$
112 112
 export const createGroupActivity = payload => fetch({ url: API_GROUP_CREATE, method: 'POST', payload })
113 113
 export const joinGroupBuy = payload => fetch({ url: API_GROUP_JOIN, method: 'POST', payload })
114 114
 
115
-export const getLivingCode = livingid => fetch({ url: `${API_LIVING_CODE}?livingid=${encodeURIComponent(livingid)}` })
115
+export const getLivingCode = user => fetch({ url: `${API_LIVING_CODE}?user=${encodeURIComponent(user)}` })