WxConstants.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.happy.common.wx;
  2. /**
  3. * 微信公众号常量类
  4. * @author lujunjie
  5. * @date 2018/06/28
  6. */
  7. public class WxConstants {
  8. /**
  9. * 默认编码
  10. */
  11. public static final String DEFAULT_CHARSET = "UTF-8";
  12. /**
  13. * 统一下单-扫描支付
  14. */
  15. public static String PAY_UNIFIEDORDER = "https://app.dev.9kbs.com/shopOpenApi/services/deviceAntiScode/getStartCode";
  16. public static String Test = "http://localhost:8088/HotWaters/userget_stu.action";
  17. public static String Test2 = "http://localhost:8088/HotWaters/userstu_info.action";
  18. /**
  19. * 请求成功返回码
  20. */
  21. public final static String ERRCODE_OK_CODE = "0";
  22. /**
  23. * 错误的返回码的Key
  24. */
  25. public final static String ERRCODE = "errcode";
  26. /**
  27. * 返回状态码
  28. */
  29. public final static String RETURN_CODE= "return_code";
  30. /**
  31. * access_token 字符串
  32. */
  33. public final static String ACCESS_TOKEN = "access_token";
  34. /**
  35. * 签名类型 MD5
  36. */
  37. public final static String SING_MD5 = "MD5";
  38. /**
  39. * 签名类型 HMAC-SHA256
  40. */
  41. public final static String SING_HMACSHA256 = "HMAC-SHA256";
  42. }