Constant.m 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // Constant.m
  3. // Apex Mobile
  4. //
  5. // Created by Ray on 14-3-1.
  6. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
  7. //
  8. #import "Constant.h"
  9. const int MAX_ROW=100;
  10. const int MAX_COLUMN=100;
  11. const int BEHAVIOR_SEARCH = 0;
  12. const int BEHAVIOR_RESULT = 1;
  13. const int AP_USER_AUTH = 1;
  14. const int AP_USER_NOT_AUTH = 2;
  15. const int AP_USER_NOT_EXIST = 3;
  16. const int AP_SESSION_EXPIRED = 4;
  17. const int AP_UPLOAD_SUCCESS = 4;
  18. const int AP_UPLOAD_FAIL = 5;
  19. const int RESULT_FALSE = 0;
  20. const int RESULT_TRUE = -1;
  21. const int RESULT_NET_ERROR = -3;
  22. const int RESULT_NET_NOTAVAILABLE = -4;
  23. const int RESULT_ERROR = -5;
  24. const int RESULT_LOCALFILE_ERROR = -7;
  25. const int RESULT_USERAUTH_ERROR = -9;
  26. const int RESULT_UPDATE_USERAUTH_ERROR = -11;
  27. const int RESULT_SESSION_EXPIRED = -13;
  28. const int RESULT_VER_LOW = -15;
  29. //const NSString* URL_UPDATE_AUTH = @"https://ra.apexshipping.com/login.php";
  30. //const NSString* URL_REQUEST_COUNT = @"https://ra.apexshipping.com/main.php";
  31. //const NSString* URL_REQUEST_RECORDS = @"https://ra.apexshipping.com/main.php";
  32. //const NSString* URL_RETRIEVE_PASS = @"https://ra.apexshipping.com/main.php";
  33. //const NSString* URL_REQUEST_DETAIL = @"https://ra.apexshipping.com/main.php";
  34. @implementation Constant
  35. @end