fuchengshen
2022-06-10 87195caedaf64f397fcf3e532895d1043b15e5dd
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;