class GlobalConfig { /// ====================== 后端json返回的key ====================== /// static final String HTTP_RESPONSE_KEY_CODE = 'code'; static final String HTTP_RESPONSE_KEY_MSG = 'msg'; static final String HTTP_RESPONSE_KEY_DATA = 'data'; /// 成功返回的CODE值 static final int RESPONSE_SUCCESS_CODE = 1; /// ====================== Shared_prefe_key ====================== /// /// 用户token static final String SHARED_KEY_TOKEN = 'sp_token'; /// 用户手机号码 static final String SHARED_KEY_MOBILE = 'sp_mobile'; /// 用户json static final String SHARED_KEY_USER_INFO = 'sp_userinfo'; }