mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 22:20:27 +08:00
16 lines
279 B
JavaScript
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;
|