From 66d9ccf38814e8199b4ed2335c8c2d183b676380 Mon Sep 17 00:00:00 2001 From: tanghao <405676538@qq.com> Date: 星期二, 17 一月 2023 12:02:52 +0800 Subject: [PATCH] 1。4:处理预约单导致串单的问题 隐藏预约单 二次修改为测试环境 --- app/src/main/java/com/okgoincar/utils/Cache/CacheKey.kt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/okgoincar/utils/Cache/CacheKey.kt b/app/src/main/java/com/okgoincar/utils/Cache/CacheKey.kt index a53f8a4..2c937b4 100644 --- a/app/src/main/java/com/okgoincar/utils/Cache/CacheKey.kt +++ b/app/src/main/java/com/okgoincar/utils/Cache/CacheKey.kt @@ -78,8 +78,13 @@ } fun saveLocalOrderBean(bean: LocalOrderBean){ + bean.userId = getUserId() putKeyStr(LocalOrderBean.LOCAL_ORDER_INFO,Gson().toJson(bean)) } + fun saveLocalOrderBeanNull(){ + putKeyStr(LocalOrderBean.LOCAL_ORDER_INFO,"") + } + } \ No newline at end of file -- Gitblit v1.7.1