no message

cyl/master-0804
jscyl13849007907 3 months ago
parent 5db7686772
commit 01ee5448e3

@ -38,7 +38,7 @@
</div> </div>
<div class="g_flex_row_between" <div class="g_flex_row_between"
style="margin-top: 4px;padding-left: 40rpx;padding-right: 40rpx;" style="margin-top: 4px;padding-left: 40rpx;padding-right: 40rpx;"
v-if="corpUserFlag" v-if="corpUserFlag && false"
> >
<div v-for="(item,index) in customList" :key="index" @click="goChatDetail(item)"> <div v-for="(item,index) in customList" :key="index" @click="goChatDetail(item)">
<div> <div>
@ -313,7 +313,7 @@
}, },
onShow() { onShow() {
let that = this; let that = this;
console.log('==============',this.G.store())
if (uni.getStorageSync("apply-token")) { if (uni.getStorageSync("apply-token")) {
that.checkRecordingPermission(); that.checkRecordingPermission();
@ -558,7 +558,7 @@
uni.setStorageSync('test_file', audioChunks.join(',')) uni.setStorageSync('test_file', audioChunks.join(','))
uni.setStorageSync('btn_form', 1) uni.setStorageSync('btn_form', 1)
uni.setStorageSync('robot_id', '7491244881596809243') uni.setStorageSync('robot_id', that.G.store().coziID)
uni.setStorageSync('isExecute',1) uni.setStorageSync('isExecute',1)
uni.navigateTo({ uni.navigateTo({
url: '/root/chat/index?cid=&form=audiodata', url: '/root/chat/index?cid=&form=audiodata',
@ -824,7 +824,7 @@
uni.hideLoading(); uni.hideLoading();
uni.setStorageSync('ls-chat-text', $sendMessage) uni.setStorageSync('ls-chat-text', $sendMessage)
$sendMessage = ''; $sendMessage = '';
uni.setStorageSync('robot_id', '7491244881596809243') uni.setStorageSync('robot_id', that.G.store().coziID)
uni.setStorageSync('isExecute',1) uni.setStorageSync('isExecute',1)
uni.navigateTo({ uni.navigateTo({
url: '/root/chat/index?cid=&form=msgdata&stip=' + $type url: '/root/chat/index?cid=&form=msgdata&stip=' + $type
@ -852,7 +852,7 @@
}, },
goHistory($form = '') { goHistory($form = '') {
let that = this; let that = this;
uni.setStorageSync('robot_id', '7491244881596809243') uni.setStorageSync('robot_id', that.G.store().coziID)
uni.setStorageSync('isExecute',1) uni.setStorageSync('isExecute',1)
uni.navigateTo({ uni.navigateTo({
url: "/root/chat/index?cid=&form=viwdata", url: "/root/chat/index?cid=&form=viwdata",
@ -860,7 +860,7 @@
}, },
goChatDetail($item = '') { goChatDetail($item = '') {
let that = this; let that = this;
uni.setStorageSync('robot_id', $item.robotId) uni.setStorageSync('robot_id', that.G.store().coziID)
let _title = $item.title; let _title = $item.title;
if($item.title == '智能匹配'){ if($item.title == '智能匹配'){
_title = ''; _title = '';

@ -556,7 +556,8 @@
}) })
// that.list = []; // that.list = [];
that.G.Post(that.api.chat_getConversationld, { that.G.Post(that.api.chat_getConversationld, {
robotId:uni.getStorageSync('robot_id') robotId:uni.getStorageSync('robot_id'),
agencyId:uni.getStorageSync("apply-agencyId")
}, (res) => { }, (res) => {
uni.hideLoading(); uni.hideLoading();
that.talkId = res; that.talkId = res;
@ -2017,6 +2018,7 @@
params['messageType'] = 98; params['messageType'] = 98;
} }
params.robotId = uni.getStorageSync('robot_id') params.robotId = uni.getStorageSync('robot_id')
params.agencyId = uni.getStorageSync('apply-agencyId')
that.G.Post( that.G.Post(
that.api.chat_addHistory, params,(res) => { that.api.chat_addHistory, params,(res) => {
that.handleRecordJobEnd(); that.handleRecordJobEnd();

@ -9,6 +9,7 @@ let data = {
v3BaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/v3/", // cdn图片公共前缀路径 v3BaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/v3/", // cdn图片公共前缀路径
fadanBaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/", fadanBaseImg: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/dailibaoming/",
loginText: '请登录', loginText: '请登录',
coziID:'7537572244600471579',
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
version: uni.getAccountInfoSync().miniProgram.version || "1.0.16", version: uni.getAccountInfoSync().miniProgram.version || "1.0.16",
// #endif // #endif

Loading…
Cancel
Save