You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

61 lines
2.3 KiB

  1. import {apiPath} from "../auth/utils";
  2. // GET request
  3. //Group Config
  4. export const GET_GROUP_LIST_PATH = '/group';
  5. export const GET_GROUP_COMBO_PATH = '/group/combo';
  6. export const GET_GROUP_MEMBER_LIST_PATH = '/group/member';
  7. export const GET_GROUP_AUTH_LIST = '/group/auth/combo';
  8. export const GLD_USER_PATH = apiPath+'/user/gld';
  9. export const GET_AUTH_LIST = '/user/auth/combo';
  10. export const GET_USER_COMBO_LIST = '/user/combo';
  11. export const GET_USER_GLD_COMBO_LIST = '/user/combo/gld';
  12. export const GET_USER_LOCK = apiPath+'/user/lock';
  13. export const GET_USER_UNLOCK = apiPath+'/user/unlock';
  14. export const GET_IND_USER_PATH = apiPath+'/user/ind';
  15. export const GET_IND_USER_VERIFY = apiPath+'/user/verify';
  16. export const POST_IND_USER = apiPath+'/user/ind';
  17. export const GET_ORG_USER_PATH = apiPath+'/user/org';
  18. export const GET_ORG_PATH = apiPath+'/org';
  19. export const GET_ORG_FROM_USER_PATH = apiPath+'/org/from-user';
  20. export const POST_ORG_SAVE_PATH = apiPath+'/org/save';
  21. //File Up/Download
  22. export const FILE_UP_POST = apiPath+'/file/ul';
  23. export const FILE_DOWN_GET = apiPath+"/file/dl";
  24. export const POST_FILE_LIST = apiPath+'/file/list';
  25. export const GET_FILE_DELETE = apiPath+'/file/delete';
  26. //export const FILE_DOWN_GET = ({id,skey,filename})=>{ return apiPath+'/file/dl/'+id+'/'+skey+'/'+filename};
  27. // POST request
  28. //Login
  29. export const POST_LOGIN = '/login';
  30. export const POST_CAPTCHA = apiPath+'/captcha';
  31. //register
  32. export const POST_PUBLIC_USER_REGISTER = apiPath+'/user/register';
  33. //Public
  34. export const GET_PUBLIC_ORG_USER_LIST = apiPath+'/user/listOrg';
  35. export const GET_SET_PRIMARY_USER = apiPath+'/user/primary';
  36. export const GET_SET_UN_PRIMARY_USER = apiPath+'/user/un-primary';
  37. export const GET_PUBLIC_NOTICE_LIST = apiPath+'/application/list';
  38. export const GET_PUBLIC_NOTICE_LIST_ListByStatus = apiPath+'/application/status-list';
  39. export const GET_PUBLIC_NOTICE_getApplyUser = apiPath+'/application/get-apply-user';
  40. export const POST_PUBLIC_NOTICE_APPLY = apiPath+'/application/apply';
  41. //GLD User
  42. export const POST_ADMIN_USER_REGISTER = apiPath+'/user/registry';
  43. export const DELETE_USER = apiPath+'/user';
  44. export const GET_PUBLIC_NOTICE_APPLY_DETAIL = apiPath+'/application/application-detail';
  45. //User Group
  46. export const POST_AND_UPDATE_USER_GROUP = apiPath+'/group/save';