Commit f5b6fb4f authored by zhaopengxiang's avatar zhaopengxiang

升级版本管控

parent 96fd5ab7
......@@ -6,7 +6,6 @@ import android.text.TextUtils;
import com.blankj.utilcode.util.FileIOUtils;
import com.blankj.utilcode.util.FileUtils;
import com.blankj.utilcode.util.LogUtils;
import com.blankj.utilcode.util.ToastUtils;
import com.miya.fastcashier.service.AccountService;
import com.permissionx.guolindev.PermissionX;
......@@ -63,7 +62,6 @@ public class AccountPasswordManageKit {
}
public void initAccountPassword(AppCompatActivity context,AccountPasswordManageCallback callback) {
LogUtils.e("path", getCurrentAccountFilePath());
if (FileUtils.isFileExists(getCurrentAccountFilePath())) {
Executors.newCachedThreadPool().execute(new Runnable() {
@Override
......@@ -76,7 +74,6 @@ public class AccountPasswordManageKit {
if (callback != null){
callback.onPasswordGet(password);
}
LogUtils.e("FileExists",password);
}
});
}
......@@ -87,13 +84,11 @@ public class AccountPasswordManageKit {
AccountService.INSTANCE.setAccountPassword(ACCOUNT_DEFAULT_PASSWORD);
if (callback != null){
callback.onPasswordGet(ACCOUNT_DEFAULT_PASSWORD);
LogUtils.e("FileNoExists",ACCOUNT_DEFAULT_PASSWORD);
}
if (FileUtils.createOrExistsFile(getCurrentAccountFilePath())) {
Executors.newCachedThreadPool().execute(new Runnable() {
@Override
public void run() {
LogUtils.e("creat File",ACCOUNT_DEFAULT_PASSWORD);
FileIOUtils.writeFileFromString(getCurrentAccountFilePath(), ACCOUNT_DEFAULT_PASSWORD);
}
});
......@@ -116,7 +111,6 @@ public class AccountPasswordManageKit {
}else {
if (callback != null){
callback.onPasswordGet(accountPassword);
LogUtils.e("loadAccountPassword",accountPassword);
}
}
}
......
# 版本历史
## tag 2022.04.6
#### v2.1.0
-添加管理员密码权限
-修改密码,退款密码校验
-优化订单流水相关,统一管理,修改存储无上限为每日清除前一天记录
## tag 2022.03.26
#### v2.1.0
-退款流程修改:允许多次退款
## tag 2022.03.24以前
#### v1.0 v2.0
-登录,登出
-收款,退款,主扫,被扫
-查询订单,打印,结算
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
60% — 99
55% — 8C
50% — 80
45% — 73
40% — 66
35% — 59
30% — 4D
25% — 40
20% — 33
15% — 26
10% — 1A
5% — 0D
0% — 00
\ No newline at end of file
ext {
VERSION_CODE = 21
VERSION_CODE = 22
VERSION_NAME = '2.1.1'
}
\ No newline at end of file
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