cool-admin-vue/cool/modules/chat/service/session.js
2021-02-28 22:24:54 +08:00

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;