admin
2022-04-18 34f0d1927d662956202620b8036384a026ceca29
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注册
     *