From 34f0d1927d662956202620b8036384a026ceca29 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 18 四月 2022 10:17:48 +0800 Subject: [PATCH] 风行网页播放 --- BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java index 20136f8..fbe9cdd 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/BeibeiVideoAPI.java @@ -376,6 +376,15 @@ commonPost(context, BASE_URL + "user", params, handler); } + + public static void phoneLogin(Context context, String phone, String code, ResponseHandlerInterface handler) { + LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); + params.put("Method", "phoneLogin"); + params.put("phone", phone); + params.put("code", code); + commonPost(context, BASE_URL + "user", params, handler); + } + /** * 鐢佃瘽鍙风爜缁戝畾 * @@ -491,6 +500,15 @@ commonPost(context, BASE_URL + "user", params, handler); } + + public static void sendLoginVerifyCode(Context context, String phone, + ResponseHandlerInterface handler) { + LinkedHashMap<String, String> params = new LinkedHashMap<String, String>(); + params.put("Method", "sendSMSCode"); + params.put("phone", phone); + commonPost(context, BASE_URL + "user", params, handler); + } + /** * Email娉ㄥ唽 * -- Gitblit v1.8.0