@@ -9,6 +9,14 @@ export function list(query) {
})
}
// 获取人员列表
+export function newList(query) {
+ return request({
+ url: '/webim/deptList',
+ method: 'get',
+ params: query
+ })
+}
+// 获取人员列表
export function getMine(query) {
return request({
url: '/webim/mine',
@@ -40,7 +40,7 @@
import { device, typeOf } from '@/utils/utils'
import storage from '@/utils/storage'
import IMStore from '@/store/store'
- import {list,getMine,getHistory,getChatlog,setOnlineStatus} from '@/api/webim/index'
+ import {list,newList,getMine,getHistory,getChatlog,setOnlineStatus} from '@/api/webim/index'
export default {