Your Name 3 年之前
父節點
當前提交
2725c27492
共有 3 個檔案被更改,包括 4 行新增3 行删除
  1. 2
    1
      src/constants/user.js
  2. 1
    1
      src/pages/video/liveDetail/index.jsx
  3. 1
    1
      src/services/activity.js

+ 2
- 1
src/constants/user.js 查看文件

14
   ESTATE_AGENT: 'estate agent', // 独立经纪人
14
   ESTATE_AGENT: 'estate agent', // 独立经纪人
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
 }
19
 }

+ 1
- 1
src/pages/video/liveDetail/index.jsx 查看文件

60
     Taro.navigateToMiniProgram({
60
     Taro.navigateToMiniProgram({
61
       // 固定跳转到微信企业直播
61
       // 固定跳转到微信企业直播
62
       appId: 'wx7424030d69bde86e',
62
       appId: 'wx7424030d69bde86e',
63
-      path: `pages/watch/index?living_code=${livingCodeRef.current}`,
63
+      path: `pages/watch/index?living_code=${encodeURIComponent(livingCodeRef.current)}`,
64
     })
64
     })
65
   }
65
   }
66
 
66
 

+ 1
- 1
src/services/activity.js 查看文件

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=${livingid}` })
115
+export const getLivingCode = livingid => fetch({ url: `${API_LIVING_CODE}?livingid=${encodeURIComponent(livingid)}` })