18
This commit is contained in:
@@ -45,6 +45,9 @@ const mutations = {
|
||||
|
||||
const actions = {
|
||||
async getConversationList({state,commit}, isFirstPage = true) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
try {
|
||||
const {data} = await IMSDK.asyncApi(
|
||||
IMSDK.IMMethods.GetConversationListSplit,
|
||||
@@ -65,6 +68,9 @@ const actions = {
|
||||
}
|
||||
},
|
||||
getCurrentGroup({commit}, groupID) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
IMSDK.asyncApi(IMSDK.IMMethods.GetSpecifiedGroupsInfo, uuidv4(), [
|
||||
groupID,
|
||||
]).then(({
|
||||
@@ -74,6 +80,9 @@ const actions = {
|
||||
});
|
||||
},
|
||||
getCurrentMemberInGroup({commit,rootState}, groupID) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
IMSDK.asyncApi(IMSDK.IMMethods.GetSpecifiedGroupMembersInfo, uuidv4(), {
|
||||
groupID,
|
||||
userIDList: [rootState.user.selfInfo.userID],
|
||||
@@ -84,6 +93,9 @@ const actions = {
|
||||
});
|
||||
},
|
||||
getUnReadCount({commit}) {
|
||||
//#ifndef APP
|
||||
return [];
|
||||
//#endif
|
||||
IMSDK.asyncApi(IMSDK.IMMethods.GetTotalUnreadMsgCount, uuidv4()).then(
|
||||
(res) => {
|
||||
//console.log(res);
|
||||
|
||||
Reference in New Issue
Block a user