|
|
|
@ -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) {
|
|
|
|
|