cool-admin-vue/cool/modules/chat/service/message.js
2021-02-28 22:24:54 +08:00

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;