config.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. //
  2. // config.h
  3. // RA TradeFiling
  4. //
  5. // Created by Rui Zhang on 11/13/20.
  6. //
  7. #ifndef config_h
  8. #define config_h
  9. //连接超时
  10. #define JSON_TIMEOUT 60
  11. //#define fake_data false
  12. #ifdef DEBUG
  13. // #define test_server
  14. #define fake_data false
  15. #else
  16. #define fake_data false
  17. # endif
  18. #ifdef test_server
  19. #define BASE_URL @"http://192.168.0.161/ACE_ISF_NEW"
  20. #else
  21. #define BASE_URL @"https://ra.united-us.net/doc/bk"
  22. #endif
  23. // 接口定义
  24. #define URL_LOGIN BASE_URL@"/loginMobile.php"
  25. #define URL_CHANGE_PASS BASE_URL@"/loginMobile.php"
  26. #define URL_LOGOUT BASE_URL@"/loginMobile.php"
  27. #define URL_RETRIEVE_PASS BASE_URL@"/loginMobile.php"
  28. #define URL_SIGNUP BASE_URL@"/loginMobile.php"
  29. #define URL_HOME BASE_URL@"/mobileMain.php"
  30. #define URL_SEARCH_RESULT BASE_URL@"/resultMobile.php"
  31. #define URL_PRIVACY @"https://www.united-us.net/privacy.html"
  32. #define URL_ERR_LOG @""
  33. #define URL_REQUEST_DETAIL BASE_URL@"/resultMobile.php"
  34. // commoneditor 图片上传url
  35. #define URL_UPLOAD_IMG @""
  36. #define URL_SAVE_EDITOR BASE_URL@"/editorMobile.php"
  37. #define URL_EDIT BASE_URL@"/editorMobile.php"
  38. #define URL_CADEDATE BASE_URL@"/resultMobile.php"
  39. //#define URL_SAVE_PANEL BASE_URL@"/main_new_29.php"
  40. //
  41. //
  42. //#define URL_HISTORY BASE_URL@"/main_new_29.php"
  43. //
  44. //#define URL_REQUEST_COUNT BASE_URL@"/main_new_29.php"
  45. //#define URL_REQUEST_RECORDS BASE_URL@"/main_new_29.php"
  46. //
  47. //#define URL_ANNOUNCEMENTS BASE_URL@"/mobile_news.php"
  48. //#define URL_NEWS BASE_URL@"/mobile_news.php"
  49. //#define URL_LOCATIONS BASE_URL@"/mobile_news26.php"
  50. //#define URL_PUSH BASE_URL@"/main_new_29.php"
  51. //#define URL_KPI BASE_URL@"/main_new_29.php"
  52. //
  53. //#define URL_SEND_COMM_EMAIL BASE_URL@"/main_new_29.php"
  54. //
  55. //// 2019.1.4
  56. //#define URL_UPLOAD_SQL BASE_URL@"/main_new_29.php"
  57. //#define URL_SAVE_RESULT BASE_URL@"/main_new_29.php"
  58. //2020.01.09
  59. #endif /* config_h */