diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index 2198c2e8..a74ca647 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -19,7 +19,7 @@ use Base\Service\UserService; class UserController extends BaseController { - public function user_login_new() + public function user_login() { $params = json_decode(base64_decode(file_get_contents("php://input")), true); @@ -48,7 +48,7 @@ class UserController extends BaseController /** *SDK用户登录 */ - public function user_login() + public function user_login_old() { $count = Redis::incr(Redis::KEY_LOGIN_LIMIT); if ($count >= 300) {