diff --git a/src/components/dynamicDiscuss.wpy b/src/components/dynamicDiscuss.wpy index 9428f50..89dcf1e 100644 --- a/src/components/dynamicDiscuss.wpy +++ b/src/components/dynamicDiscuss.wpy @@ -233,7 +233,7 @@ {{ item.nickname || '未设置名称' }} - + diff --git a/src/config.js b/src/config.js index abba04d..8518451 100644 --- a/src/config.js +++ b/src/config.js @@ -6,8 +6,8 @@ var host = '' var hostGo = '' // if (_NODE_) { -// host = 'https://love.ufutx.com/api' // 线上环境 - hostGo = 'https://love.ufutx.com/go/api' // 线上环境 +host = 'https://love.ufutx.com/go/api' // 线上环境 +hostGo = 'https://love.ufutx.com/go/api' // 线上环境 // host = 'http://love.ufutx.net/go/api' // 本地环境 // hostGo = 'http://health.ufutx.net/go/api' // 本地环境 // } else { diff --git a/src/pages/news/groupChitchat.wpy b/src/pages/news/groupChitchat.wpy index ed40252..8ec3a51 100644 --- a/src/pages/news/groupChitchat.wpy +++ b/src/pages/news/groupChitchat.wpy @@ -964,11 +964,11 @@ wepy.page({ callbackSend(type) { let vm = this let data = { - other_user_id: vm.otherUserId * 1, - field_7: vm.msg, - field_6: type + them_id: vm.otherUserId * 1, + content: vm.msg, + type: type } - vm.$post({url: `${service.host}/chat/message/send`, data}).then(() => { + vm.$post({url: `${service.host}/chat/team/message/send`, data}).then(() => { wx.hideLoading() vm.msg = '' vm.emojiShow = false diff --git a/src/utils/util.js b/src/utils/util.js index a608c14..c37f821 100644 --- a/src/utils/util.js +++ b/src/utils/util.js @@ -56,6 +56,8 @@ const wx_login = () => { name: data.user.nickname, avatar: data.user.photo || 'https://image.fulllinkai.com/202203/09/cc1c73eb1a4941fef25a15cd1ff2f9df.png', showId: data.user.id, + is_real_approved: data.user.is_real_approved, + is_base_profile: data.user.is_base_profile, rank_id: data.user.rank_id, sex: data.user.sex, id: data.user.id,