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.
 
 

45 rivejä
1.4 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 GET_USER_PATH = '/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_LOCK = apiPath+'/user/lock';
  12. export const GET_USER_UNLOCK = apiPath+'/user/unlock';
  13. export const GET_IND_USER_PATH = apiPath+'/user/ind';
  14. export const GET_IND_USER_VERIFY = apiPath+'/user/verify';
  15. export const POST_IND_USER = apiPath+'/user/ind';
  16. export const GET_ORG_USER_PATH = apiPath+'/user/org';
  17. export const GET_ORG_PATH = apiPath+'/org';
  18. export const GET_ORG_FROM_USER_PATH = apiPath+'/org/from-user';
  19. export const POST_ORG_SAVE_PATH = apiPath+'/org/save';
  20. //File Up/Download
  21. export const FILE_UP_POST = apiPath+'/file/ul';
  22. export const FILE_DOWN_GET = apiPath+"/file/dl";
  23. export const POST_FILE_LIST = apiPath+'/file/list';
  24. export const GET_FILE_DELETE = apiPath+'/file/delete';
  25. //export const FILE_DOWN_GET = ({id,skey,filename})=>{ return apiPath+'/file/dl/'+id+'/'+skey+'/'+filename};
  26. // POST request
  27. //Login
  28. export const POST_LOGIN = '/login';
  29. //register
  30. export const POST_PUBLIC_USER_REGISTER = apiPath+'/user/register';
  31. //Public
  32. export const GET_PUBLIC_ORG_USER_LIST = apiPath+'/user/listOrg';