基础库
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

26 rindas
834 B

  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. /// ====================== Shared_prefe_key ====================== ///
  9. /// 用户token
  10. static final String SHARED_KEY_TOKEN = 'sp_token';
  11. /// 用户手机号码
  12. static final String SHARED_KEY_MOBILE = 'sp_mobile';
  13. /// 用户json
  14. static final String SHARED_KEY_USER_INFO = 'sp_userinfo';
  15. /// 货币类型
  16. static final String MONEY_TYPE = "¥ ";
  17. /// 天猫 淘宝类型
  18. static final String PROVIDER_TM = 'tianmao';
  19. static final String PROVIDER_TB = 'taobao';
  20. }