diff --git a/.env b/.env index 01cbae4..151767c 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # API -# VITE_SYSTEM_URL = "http://h69b336a.natappfree.cc" +# VITE_SYSTEM_URL = "http://s8e84fdb.natappfree.cc" VITE_SYSTEM_URL = "https://dev.cqjcteach.cn/prod-api" # 第三方客户 channelId diff --git a/TUIKit/components/TUIGroup/manage-group/index.vue b/TUIKit/components/TUIGroup/manage-group/index.vue index d7da7c9..2d981f7 100644 --- a/TUIKit/components/TUIGroup/manage-group/index.vue +++ b/TUIKit/components/TUIGroup/manage-group/index.vue @@ -851,6 +851,7 @@ userIDList } try { + // await updateProfile({ key: 'inviteOption', value: TUIChatEngine.TYPES.INVITE_OPTIONS_FREE_ACCESS }) await TUIGroupService.addGroupMember(options) } catch (error) { console.log(error) diff --git a/api/mall.js b/api/mall.js index eb8ef8e..1f8c2f4 100644 --- a/api/mall.js +++ b/api/mall.js @@ -53,6 +53,15 @@ export const addOrder = data => { }) } +/** 加入订单 */ +export const addOrderItem = data => { + return http({ + url: '/api/service/order/join', + method: 'post', + data + }) +} + /** 创建普通订单接口 */ export const createOrder = data => { return http({ diff --git a/api/my-index.js b/api/my-index.js index 2cf2655..8e8b63f 100644 --- a/api/my-index.js +++ b/api/my-index.js @@ -164,10 +164,11 @@ export const getUserWithdrawConfig = id => { } /** 获取用户积分详细信息 */ -export const getUserIntegral = () => { +export const getUserIntegral = (loading = true) => { return http({ url: `/api/system/userPoints/details`, - method: 'get' + method: 'get', + loading }) } @@ -308,3 +309,12 @@ export const getUserBuyRecordDetail = id => { method: 'get' }) } + +/** 修改订单 */ +export const updateUserBuyRecord = data => { + return http({ + url: `/api/service/order`, + method: 'put', + data + }) +} diff --git a/constants/live-keys.js b/constants/live-keys.js index 14d9da7..9804231 100644 --- a/constants/live-keys.js +++ b/constants/live-keys.js @@ -1,7 +1,9 @@ /** 直播间 businessID 唯一值 */ export const LIVE_BUSINESS = { - // 管理员 + // 系统管理员发送 ADMIN: 'admin', // 签到 SIGN: 'sign', + /** 房间管理员 */ + ANCHOR: 'anchor', } diff --git a/pages.json b/pages.json index 048bb18..eaec770 100644 --- a/pages.json +++ b/pages.json @@ -355,12 +355,6 @@ "navigationStyle": "custom" } }, - { - "path": "pages/shop-together/user", - "style": { - "navigationStyle": "custom" - } - }, { "path": "pages/discover/ranking-list", "style": { @@ -404,6 +398,12 @@ } }, // #ifdef APP-PLUS + { + "path": "pages/shop-together/user", + "style": { + "navigationStyle": "custom" + } + }, { "path": "pages/discover/livelist/index", "style": { diff --git a/pages/anchor/index.nvue b/pages/anchor/index.nvue index b0bff22..59e8f11 100644 --- a/pages/anchor/index.nvue +++ b/pages/anchor/index.nvue @@ -1,4 +1,5 @@