update:暂时停用IM商家发送消息给平台,替换为使用电话找到平台
This commit is contained in:
parent
3841ba1425
commit
640a5f0587
@ -20,7 +20,7 @@
|
|||||||
custom-prefix="custom-icon-kefu custom-icon"
|
custom-prefix="custom-icon-kefu custom-icon"
|
||||||
size="24"
|
size="24"
|
||||||
color="#666"
|
color="#666"
|
||||||
@click="senMsgAdmin"
|
@click="openPhoneDial"
|
||||||
></u-icon>
|
></u-icon>
|
||||||
<u-icon
|
<u-icon
|
||||||
class="u-icon icon-shezhi"
|
class="u-icon icon-shezhi"
|
||||||
@ -232,6 +232,7 @@ export default {
|
|||||||
url: `/pages/IM/IMmsgContent?item=${JSON.stringify(item)}`,
|
url: `/pages/IM/IMmsgContent?item=${JSON.stringify(item)}`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//暂时不使用平台发信息给商家IM,暂时使用不了
|
||||||
senMsgAdmin() {
|
senMsgAdmin() {
|
||||||
let item = {
|
let item = {
|
||||||
user_friend_id: 36,
|
user_friend_id: 36,
|
||||||
@ -259,6 +260,16 @@ export default {
|
|||||||
url: `/pages/IM/IMmsgContent?item=${JSON.stringify(item)}`,
|
url: `/pages/IM/IMmsgContent?item=${JSON.stringify(item)}`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
openPhoneDial(){
|
||||||
|
uni.makePhoneCall({
|
||||||
|
phoneNumber: '17777525395',
|
||||||
|
// 可选:添加拨号失败回调
|
||||||
|
fail: (err) => {
|
||||||
|
console.log('拨号失败', err);
|
||||||
|
this.$refs.uToast.show({ title: '拨号失败,请稍后重试' });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
skipuIMsetting() {
|
skipuIMsetting() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/IM/IMsetting",
|
url: "/pages/IM/IMsetting",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user