zhaoxing
2022-08-22 74bb50ce93d0c9cd20a0b84f63db46f433a39e91
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;