From f8656588595af6cb716341b5daacba26e350a872 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期二, 27 六月 2023 17:42:10 +0800 Subject: [PATCH] 2023年06月27日17:42:08 --- app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java b/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java index 27d9bfd..0e69701 100644 --- a/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java +++ b/app/src/main/java/com/hdl/photovoltaic/other/HdlAccountLogic.java @@ -122,6 +122,7 @@ String requestUrl = HttpApi.POST_Login; JsonObject json = new JsonObject(); json.addProperty("grantType", "refresh_token"); +// json.addProperty("refreshToken", UserConfigManage.getInstance().getRefreshToken()); HttpClient.getInstance().requestHttp(requestUrl, json.toString(), true, true, new BaseSuccessFailureCallBeak() { @Override @@ -147,6 +148,14 @@ } + /** + * 閫�鍑虹櫥褰曟椂璋冪敤锛屾竻闄ゆ帹閫佹暟鎹� + */ + public void SignOutClearData() { + String requestUrl = HttpApi.POST_GET_IMAGE_LOGOUT; + //閫氱煡浜戠锛屽凡缁忛��鍑虹櫥闄� + } + public boolean isPhone(String phone) { Pattern p = Pattern.compile("^((13[0-9])|(14[0|5|6|7|9])|(15[0-3])|(15[5-9])|(16[6|7])|(17[2|3|5|6|7|8])|(18[0-9])|(19[1|8|9]))\\d{8}$"); Matcher m = p.matcher(phone); -- Gitblit v1.8.0