基础库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
1234567891011121314151617181920212223242526272829303132333435363738394041
  1. class GlobalConfig {
  2. /// ====================== 后端json返回的key ====================== ///
  3. static final String HTTP_RESPONSE_KEY_CODE = 'code';
  4. static final String HTTP_RESPONSE_KEY_MSG = 'msg';
  5. static final String HTTP_RESPONSE_KEY_DATA = 'data';
  6. /// 成功返回的CODE值
  7. static final int RESPONSE_SUCCESS_CODE = 1;
  8. /// 通用标志key
  9. static final String SKIP_IDENTIFIER = 'skip_identifier';
  10. /// ====================== 各个渠道的key ====================== ///
  11. static const String PROVIDER_TB = 'taobao'; // 淘宝
  12. static const String PROVIDER_TM = 'tianmao'; // 天猫
  13. static const String PROVIDER_JD = 'jd'; // 京东
  14. static const String PROVIDER_KL = 'kaola'; // 考拉
  15. static const String PROVIDER_VIP = 'vip'; // 唯品会
  16. static const String PROVIDER_SN = 'suning'; // 苏宁
  17. static const String PROVIDER_PDD = 'pdd'; // 拼多多
  18. /// ====================== Shared_prefe_key ====================== ///
  19. /// 用户token
  20. static final String SHARED_KEY_TOKEN = 'sp_token';
  21. /// 用户手机号码
  22. static final String SHARED_KEY_MOBILE = 'sp_mobile';
  23. /// 用户的淘宝授权key
  24. static final String SHARED_KEY_ISAUTH = 'sp_auth';
  25. /// 用户json
  26. static final String SHARED_KEY_USER_INFO = 'sp_userinfo';
  27. /// 货币类型
  28. static final String MONEY_TYPE = "¥ ";
  29. // /// 天猫 淘宝类型
  30. // static final String PROVIDER_TM = 'tianmao';
  31. // static final String PROVIDER_TB = 'taobao';
  32. }