-
Notifications
You must be signed in to change notification settings - Fork 415
/
Copy pathapi.js
44 lines (37 loc) · 2.1 KB
/
api.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// export const CONTEXT = './api';
export const CONTEXT = './Vue-Admin';
export const LOGIN = CONTEXT + '/#';
export const LOGOUT = CONTEXT + '/logout';
export const CHANGE_PWD = CONTEXT + '/changePwd';
export const SYS_MENU_GET = CONTEXT + '/sys/menu/get';
export const SYS_MENU_UPDATE = CONTEXT + '/sys/menu/update';
export const SYS_MENU_DELETE = CONTEXT + '/sys/menu/delete';
export const SYS_MENU_ADD = CONTEXT + '/sys/menu/add';
export const SYS_MENU_PAGE = CONTEXT + '/sys/menu/page';
export const SYS_MENU_LIST = CONTEXT + '/sys/menu/list';
export const SYS_MENU_LIST2 = CONTEXT + '/sys/menu/list2';
export const SYS_ROLE_GET = CONTEXT + '/sys/role/get';
export const SYS_ROLE_UPDATE = CONTEXT + '/sys/role/update';
export const SYS_ROLE_DELETE = CONTEXT + '/sys/role/delete';
export const SYS_ROLE_ADD = CONTEXT + '/sys/role/add';
export const SYS_ROLE_PAGE = CONTEXT + '/sys/role/page';
export const SYS_ROLE_LIST = CONTEXT + '/sys/role/list';
export const SYS_ROLE_LIST2 = CONTEXT + '/sys/role/list2';
export const SYS_ROLE_RESOURCE = CONTEXT + '/sys/role/resources';
export const SYS_SET_ROLE_RESOURCE = CONTEXT + '/sys/role/setResources';
export const SYS_RESOURCE_GET = CONTEXT + '/sys/resource/get';
export const SYS_RESOURCE_UPDATE = CONTEXT + '/sys/resource/update';
export const SYS_RESOURCE_DELETE = CONTEXT + '/sys/resource/delete';
export const SYS_RESOURCE_ADD = CONTEXT + '/sys/resource/add';
export const SYS_RESOURCE_PAGE = CONTEXT + '/sys/resource/page';
export const SYS_RESOURCE_LIST = CONTEXT + '/sys/resource/list';
export const SYS_RESOURCE_LIST2 = CONTEXT + '/sys/resource/list2';
export const SYS_USER_GET = CONTEXT + '/sys/user/get';
export const SYS_USER_ADD = CONTEXT + '/sys/user/add';
export const SYS_USER_UPDATE = CONTEXT + '/sys/user/update';
export const SYS_USER_DELETE = CONTEXT + '/sys/user/delete';
export const SYS_USER_PAGE = CONTEXT + '/sys/user/page';
export const SYS_USER_ROLE = CONTEXT + '/sys/user/roleIds';
export const SYS_SET_USER_ROLE = CONTEXT + '/sys/user/setRoles';
export const MSG_TOP_TEN = CONTEXT + '/messageList';
export const TEST_DATA = CONTEXT + '/static/data/data.json';