mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
16 lines
268 B
JavaScript
16 lines
268 B
JavaScript
|
import { BaseService, Service, Permission } from "cl-admin";
|
||
|
|
||
|
@Service("app/im/message")
|
||
|
class ImMessage extends BaseService {
|
||
|
@Permission("read")
|
||
|
read(data) {
|
||
|
return this.request({
|
||
|
url: "/read",
|
||
|
method: "POST",
|
||
|
data
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default ImMessage;
|