mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-14 23:12:51 +00:00
19 lines
320 B
TypeScript
19 lines
320 B
TypeScript
import { BaseService, Service, Permission } from "/@/core";
|
|
|
|
@Service({
|
|
namespace: "base/sys/department",
|
|
proxy: "/dev"
|
|
})
|
|
class SysDepartment extends BaseService {
|
|
@Permission("order")
|
|
order(data: any) {
|
|
return this.request({
|
|
url: "/order",
|
|
method: "POST",
|
|
data
|
|
});
|
|
}
|
|
}
|
|
|
|
export default SysDepartment;
|