From fd0097a37e24c771d5ad271135e48e8f52e325e0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 21 十二月 2021 16:59:55 +0800 Subject: [PATCH] 3.10.9 --- BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java b/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java index 5436446..c21a36e 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java @@ -108,6 +108,22 @@ } + /** + * 淇濆瓨璐拱璁板綍 + * + * @param context + * @param content + */ + public static void saveBuyRecordUrl(Context context, String content) { + saveConfig("buyRecordUrl", content, context); + } + + + public static String getBuyRecordUrl(Context context) { + return getConfig("buyRecordUrl", context); + } + + private static void saveConfig(String key, String value, Context context) { SharedPreferences.Editor editor = context.getSharedPreferences("config", Context.MODE_PRIVATE).edit(); editor.putString(key, value); -- Gitblit v1.8.0