1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| import { BaseService, Service, Permission } from "/@/cool";
|
| @Service({
| namespace: "im/session",
| mock: true
| })
| class ImSession extends BaseService {
| @Permission("unreadCount")
| unreadCount() {
| return this.request({
| url: "/unreadCount"
| });
| }
| }
|
| export default ImSession;
|
|