基础库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
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. }