MyConstants.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. 
  2. using System.Drawing;
  3. namespace lqnet.Api
  4. {
  5. public class MyConstants
  6. {
  7. public static string METHOD_POST = "POST";
  8. public static string METHOD_GET = "GET";
  9. public static string JSON_UTF8 = "application/json;charset=UTF-8";
  10. public static string CONTENT_TYPE = "Content-Type";
  11. public static int CODE_SUCCESS_200 = 200;
  12. public static int CODE_FAIL_500 = 500;
  13. public static int CODE_EXP_MINUS_2 = -2;
  14. public static string MIND_PWD_PATH = "\\Windows\\cfg_00001.dat1";
  15. public static string MIND_PWD_PATH_PREF = "eKm2Q1";
  16. public static string USER_AUTH_HEADER = "Authorization";
  17. public static string NON_NULL_CHECK_CODE = "-%#-@";
  18. public static string BACKGROUDIMG_NAME = "\\backgroundImg.jpg";
  19. public static Color BACKGROUDIMG_COLOR = Color.SkyBlue;
  20. }
  21. public class VariablesGlobal
  22. {
  23. public static string IP_PORT = "http://47.108.207.174:8190/";
  24. public static string USER_TOKEN = "";
  25. }
  26. }