mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 14:10:27 +08:00
优化
This commit is contained in:
parent
23e1ae9562
commit
7d50edd1ac
@ -1,15 +0,0 @@
|
||||
import { BaseService, Service, Permission } from "/@/core";
|
||||
|
||||
@Service("base/sys/department")
|
||||
class A extends BaseService {
|
||||
@Permission("order")
|
||||
order(data: any) {
|
||||
return this.request({
|
||||
url: "/order",
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default A;
|
@ -1,15 +0,0 @@
|
||||
import { BaseService, Service, Permission } from "/@/core";
|
||||
|
||||
@Service("base/sys/department")
|
||||
class B extends BaseService {
|
||||
@Permission("order")
|
||||
order(data: any) {
|
||||
return this.request({
|
||||
url: "/order",
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default B;
|
@ -1,15 +0,0 @@
|
||||
import { BaseService, Service, Permission } from "/@/core";
|
||||
|
||||
@Service("base/sys/department")
|
||||
class Test extends BaseService {
|
||||
@Permission("order")
|
||||
order(data: any) {
|
||||
return this.request({
|
||||
url: "/order",
|
||||
method: "POST",
|
||||
data
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default Test;
|
Loading…
Reference in New Issue
Block a user