1
This commit is contained in:
parent
209fe6399c
commit
7548403175
@ -44,12 +44,6 @@ class RankController{
|
|||||||
public function rankInfo()
|
public function rankInfo()
|
||||||
{
|
{
|
||||||
$account_id = $_REQUEST['account_id'];
|
$account_id = $_REQUEST['account_id'];
|
||||||
//登录校验
|
|
||||||
$login = loginVerify($account_id, $_REQUEST['session_id']);
|
|
||||||
if (!$login) {
|
|
||||||
phpcommon\sendError(ERR_USER_BASE + 1, 'session无效');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
$conn = $this->getMysql($account_id);
|
$conn = $this->getMysql($account_id);
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user