cool-admin-vue/cool/modules/chat/service/message.js

16 lines
268 B
JavaScript
Raw Normal View History

2021-02-28 01:55:04 +08:00
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;