ErrorCode.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #pragma once
  2. //成功
  3. #define PHMS_SUCCESSFUL_RESULT 100000
  4. //客户端公共错误
  5. #define COMMON_PARAM_VALIDATE_FAIL 900001
  6. #define COMMON_NO_IP 900002
  7. #define COMMON_NO_PORT 900003
  8. #define COMMON_DNS_FAIL 900004
  9. #define COMMON_CONNECT_FAIL 900005
  10. #define COMMON_SEND_FAIL 900006
  11. #define COMMON_SEND_TIMEOUT 900007
  12. #define COMMON_RECV_FAIL 900008
  13. #define COMMON_RECV_TIMEOUT 900009
  14. #define COMMON_OFF_NETWORK 900010
  15. #define COMMON_FILE_OPEN_FAIL 900011
  16. #define COMMON_FILE_WRITE_FAIL 900012
  17. #define COMMON_FILE_READ_FAIL 900013
  18. #define COMMON_CREATE_DIR_FAIL 900014
  19. #define COMMON_MEMORY_FAIL 900015
  20. #define COMMON_BUF_SMALL 900016
  21. #define COMMON_DISK_FULL 900017
  22. #define COMMON_CALCULATE_MD5_FAIL 900018
  23. #define COMMON_VALIDATE_MD5_FAIL 900019
  24. #define COMMON_BINARY_TO_STRING 900020
  25. #define COMMON_RECV_CONTENT_FAIL 900021
  26. #define COMMON_SSL_CONFLICT_ERROR 900022
  27. #define COMMON_OUTPUT_STREAM_FAIL 900023
  28. #define COMMON_INPUT_STREAM_FAIL 900024
  29. #define COMMON_NET_CONFIG_ERROR 900025
  30. #define COMMON_RESPONSE_SIGN_VALIDATE_FAIL 900026
  31. #define COMMON_NO_SAVE_SESSIONID 900027
  32. #define COMMON_PARSE_XML_FAIL 900028
  33. #define COMMON_NO_SID 900029
  34. #define COMMON_WRITE_XML_ERROR 900030
  35. #define COMMON_UPLOAD_INI_SIZE_ERROR 900031
  36. #define COMMON_DOWNLOAD_THREAD_COUNT_TOO_LARGE 900032
  37. #define COMMON_LOCAL_FILE_MORE_THAN_SERVER_FILE 900033
  38. #define COMMON_LOCAL_TEMP_TOO_LARGE 900034
  39. #define COMMON_DOWNLOAD_SEGMENT_FAIL_FOR_FILESIEZE_CHANGE 900035
  40. #define COMMON_COMBILE_FILE_FAIL 900036
  41. #define COMMON_INVALID_HANDLE 900037
  42. #define COMMON_SESSION_BUF_TOO_SMALL 900038
  43. #define COMMON_PHMS_REQUEST_VALIDATE_FAIL 900039
  44. #define COMMON_NO_URL 900040
  45. #define COMMON_PROXY_INFO_ERROR 900041
  46. #define COMMON_RESPONSE_FORMAT_ERROR 900042
  47. #define COMMON_CONVERT_ENCODE_ERROR 900043
  48. #define COMMON_UPLOAD_LESS_3_BYTES 900044
  49. #define COMMON_NO_NET_CONFIG_FILE 900045
  50. #define COMMON_NET_CONFIG_READ_ERROR 900046
  51. #define COMMON_PARAMETER_NULL 900047
  52. #define COMMON_NO_VALID_SESSIONID 900048
  53. #define COMMON_HANDLE_THREAD_MISMATCH 900049
  54. #define COMMON_GET_CASE_STATE_ERROR 900050
  55. #define COMMON_GENERATE_LOG_FILE_ERROR 900051
  56. #define COMMON_TERMINAL_LOGO_LEN_ERROR 900052
  57. #define COMMON_DOWNLOAD_FILE_SIZE_0 900053
  58. #define COMMON_SAME_PUSH_IS_RUN 900054
  59. #define COMMON_NO_SET_TERMINAL_TYPE 900055
  60. #define COMMON_URL_NOT_FOUND 900056
  61. #define COMMON_GET_CASE_SIZE_ERROR 900057
  62. #define COMMON_MULT_THREAD_SSL_SWITCH 900060
  63. #define COMMON_COMBILE_FILE_FAIL_BUT_CAN_RETRY 900061
  64. #define COMMON_INVALID_THREAD_ID 900062
  65. #define COMMON_ILLEGAL_GBK_ENCODING 900063
  66. #define COMMON_PARAM_SIZE_0 900064
  67. #define COMMON_PICTURE_CONSULTATION_ERROR 900065
  68. #define COMMON_INVALID_URL 900066
  69. //服务器端公共错误
  70. #define COMMON_SESSION_INVALID 100002
  71. #define COMMON_LOGIN_ANOTHER_PLACE 100007
  72. #define COMMON_SERVER_NO_SUPPORT 100005
  73. #define COMMON_INVALID_CHARSET 100006
  74. //phms接口之间业务逻辑错误
  75. #define LOGIC_NO_DOCTOR_SIGN 200101
  76. #define NOT_HODL_BY_YOURSELF 200102
  77. #define LOGIC_NO_HOSPITAL_ID 200103
  78. #define LOGIC_NO_HOSPITAL_PHOTO 200104
  79. //东软熙康接口错误
  80. #define COMMON_XIKANG_URL_OPENID_NULL 300001
  81. #define COMMON_GET_TOKEN_FAIL 300002