cool-admin-vue/cool/modules/chat/service/session.js

14 lines
257 B
JavaScript
Raw Normal View History

2021-02-28 01:55:04 +08:00
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;