mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
14 lines
257 B
JavaScript
14 lines
257 B
JavaScript
|
import { BaseService, Service, Permission } from "cl-admin";
|
||
|
|
||
|
@Service("app/im/session")
|
||
|
class ImSession extends BaseService {
|
||
|
@Permission("unreadCount")
|
||
|
unreadCount() {
|
||
|
return this.request({
|
||
|
url: "/unreadCount"
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default ImSession;
|