app/src/com/hanju/video/app/util/UserUtil.java
@@ -50,6 +50,13 @@ return preferences.getString("loginUid", null); } public static void logout(Context context) { SharedPreferences preferences = context.getSharedPreferences("user", MODE_PRIVATE); SharedPreferences.Editor editor = preferences.edit(); editor.remove("loginUid"); editor.commit(); } /** * 登录成功 *