32 lines
770 B
TypeScript
32 lines
770 B
TypeScript
class UserConfig {
|
|
static LOGINURI: string = "/anth/login"
|
|
static ADD: string = "/user";
|
|
static EDIT: string = "/user";
|
|
static LIST: string = "/user/list";
|
|
static DELETE: string = "/user";
|
|
}
|
|
|
|
class RoleConfig {
|
|
static ADD: string = "/role";
|
|
static EDIT: string = "/role";
|
|
static LIST: string = "/role/list";
|
|
static DELETE: string = "/role";
|
|
}
|
|
|
|
class MenuConfig {
|
|
static ADD: string = "/menu";
|
|
static EDIT: string = "/menu";
|
|
static LIST: string = "/menu/list";
|
|
static DELETE: string = "/menu";
|
|
}
|
|
|
|
|
|
class DepConfig {
|
|
static ADD: string = "/dep";
|
|
static EDIT: string = "/dep";
|
|
static LIST: string = "/dep/list";
|
|
static DELETE: string = "/dep";
|
|
}
|
|
|
|
|
|
export { RoleConfig, UserConfig, MenuConfig, DepConfig }; |