50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
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";
|
|
static menu: string = "/user/menu";
|
|
static used: string = "/user/used";
|
|
|
|
}
|
|
|
|
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";
|
|
}
|
|
|
|
class CompanyConfig {
|
|
static ADD: string = "/company";
|
|
static EDIT: string = "/company";
|
|
static LIST: string = "/company/list";
|
|
static DELETE: string = "/company";
|
|
}
|
|
|
|
|
|
class EventConfig {
|
|
static ADD: string = "/thing";
|
|
static EDIT: string = "/thing";
|
|
static LIST: string = "/thing/list";
|
|
static DELETE: string = "/thing";
|
|
}
|
|
|
|
|
|
export { RoleConfig, UserConfig, MenuConfig, DepConfig, CompanyConfig,EventConfig }; |