Your Name hace 3 años
padre
commit
78a6e00f25
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

3
     NODE_ENV: '"development"'
3
     NODE_ENV: '"development"'
4
   },
4
   },
5
   defineConstants: {
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
     WSS_HOST: '"ws://127.0.0.1:8081"',
8
     WSS_HOST: '"ws://127.0.0.1:8081"',
9
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
9
     OSS_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
10
     OSS_FAST_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',
10
     OSS_FAST_PATH: '"https://xlk-assets.oss-accelerate.aliyuncs.com/"',

+ 1
- 1
src/constants/user.js Ver fichero

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

+ 1
- 1
src/services/activity.js Ver fichero

112
 export const createGroupActivity = payload => fetch({ url: API_GROUP_CREATE, method: 'POST', payload })
112
 export const createGroupActivity = payload => fetch({ url: API_GROUP_CREATE, method: 'POST', payload })
113
 export const joinGroupBuy = payload => fetch({ url: API_GROUP_JOIN, method: 'POST', payload })
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)}` })