|
|
@@ -7,6 +7,18 @@ class GlobalConfig { |
|
|
|
/// 成功返回的CODE值 |
|
|
|
static final int RESPONSE_SUCCESS_CODE = 1; |
|
|
|
|
|
|
|
/// 通用标志key |
|
|
|
static final String SKIP_IDENTIFIER = 'skip_identifier'; |
|
|
|
|
|
|
|
/// ====================== 各个渠道的key ====================== /// |
|
|
|
static final String PROVIDER_TB = 'taobao'; // 淘宝 |
|
|
|
static final String PROVIDER_TM = 'tianmao'; // 天猫 |
|
|
|
static final String PROVIDER_JD = 'jd'; // 京东 |
|
|
|
static final String PROVIDER_KL = 'kaola'; // 考拉 |
|
|
|
static final String PROVIDER_VIP = 'vip'; // 唯品会 |
|
|
|
static final String PROVIDER_SN = 'suning'; // 苏宁 |
|
|
|
static final String PROVIDER_PDD = 'pdd'; // 拼多多 |
|
|
|
|
|
|
|
/// ====================== Shared_prefe_key ====================== /// |
|
|
|
/// 用户token |
|
|
|
static final String SHARED_KEY_TOKEN = 'sp_token'; |
|
|
@@ -20,11 +32,10 @@ class GlobalConfig { |
|
|
|
/// 用户json |
|
|
|
static final String SHARED_KEY_USER_INFO = 'sp_userinfo'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// 货币类型 |
|
|
|
static final String MONEY_TYPE = "¥ "; |
|
|
|
/// 天猫 淘宝类型 |
|
|
|
static final String PROVIDER_TM = 'tianmao'; |
|
|
|
static final String PROVIDER_TB = 'taobao'; |
|
|
|
|
|
|
|
// /// 天猫 淘宝类型 |
|
|
|
// static final String PROVIDER_TM = 'tianmao'; |
|
|
|
// static final String PROVIDER_TB = 'taobao'; |
|
|
|
} |