cool-admin-vue/cool/components/base/service/dept.js
2021-02-28 01:55:04 +08:00

16 lines
279 B
JavaScript

import { BaseService, Service, Permission } from "cl-admin";
@Service("sys/department")
class SysDepartment extends BaseService {
@Permission("order")
order(data) {
return this.request({
url: "/order",
method: "POST",
data
});
}
}
export default SysDepartment;