Commit 70f77d93 authored by 赵鹏翔's avatar 赵鹏翔

update

parent 95fa53f2
...@@ -16,7 +16,7 @@ class LocalKeyDataMKManageKit { ...@@ -16,7 +16,7 @@ class LocalKeyDataMKManageKit {
companion object { companion object {
/***************************************** 分账户的关键数据,分区存储ID为MMKV_ID *****************************************/ /***************************************** 分账户的关键数据,分区存储ID为MMKV_ID *****************************************/
private val MMKV_ID = "fastcashier_key_data" private val MMKV_KEY_ID = "fastcashier_key_data"
private val BALANCEDATE_ID = "balanceDate" private val BALANCEDATE_ID = "balanceDate"
/** /**
...@@ -61,7 +61,7 @@ class LocalKeyDataMKManageKit { ...@@ -61,7 +61,7 @@ class LocalKeyDataMKManageKit {
} }
private fun getKeyDataMK(): MMKV { private fun getKeyDataMK(): MMKV {
val MMKV_ID_WITH_USER = MMKV_ID.plus("_${AccountService.getUserName()}") val MMKV_ID_WITH_USER = MMKV_KEY_ID.plus("_${AccountService.getUserName()}")
return MMKV.mmkvWithID(MMKV_ID_WITH_USER) return MMKV.mmkvWithID(MMKV_ID_WITH_USER)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment