移除//登录校验

This commit is contained in:
aozhiwei 2021-11-22 11:45:59 +08:00
parent b4d8768778
commit f23cc45d70
17 changed files with 0 additions and 101 deletions

View File

@ -105,7 +105,6 @@ class ActivityController extends BaseAuthedController {
public function newLuckDrawInfo() public function newLuckDrawInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -224,7 +223,6 @@ class ActivityController extends BaseAuthedController {
public function getNewLuckDraw() public function getNewLuckDraw()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -405,7 +403,6 @@ class ActivityController extends BaseAuthedController {
public function drawTableInfo() public function drawTableInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -442,7 +439,6 @@ class ActivityController extends BaseAuthedController {
public function getDrawTable() public function getDrawTable()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -557,7 +553,6 @@ class ActivityController extends BaseAuthedController {
public function doubleLuckDraw() public function doubleLuckDraw()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -650,7 +645,6 @@ class ActivityController extends BaseAuthedController {
public function lotteryReward() public function lotteryReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$pool = $_REQUEST['pool']; $pool = $_REQUEST['pool'];
$rec = $this->getRecommend($pool); $rec = $this->getRecommend($pool);
$reward_id = 0; $reward_id = 0;
@ -782,7 +776,6 @@ class ActivityController extends BaseAuthedController {
public function getBoxOrder() public function getBoxOrder()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -921,7 +914,6 @@ class ActivityController extends BaseAuthedController {
public function getOrderReward() public function getOrderReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -1066,7 +1058,6 @@ class ActivityController extends BaseAuthedController {
public function drawBoxInfo() public function drawBoxInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1111,7 +1102,6 @@ class ActivityController extends BaseAuthedController {
public function drawBoxReward() public function drawBoxReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -164,7 +164,6 @@ class AdditemController extends BaseAuthedController {
public function getCoin() public function getCoin()
{ {
$accountid = $_REQUEST['account_id']; $accountid = $_REQUEST['account_id'];
//登录校验
$num = $_REQUEST['num']; $num = $_REQUEST['num'];
$conn = $this->getMysql($accountid); $conn = $this->getMysql($accountid);
if (!$conn) { if (!$conn) {

View File

@ -40,7 +40,6 @@ class BagController extends BaseAuthedController {
public function getBagInfo() public function getBagInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -96,7 +95,6 @@ class BagController extends BaseAuthedController {
public function exchangeBagItem() { public function exchangeBagItem() {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$item_id = $_REQUEST['item_id']; $item_id = $_REQUEST['item_id'];
$color_id = $_REQUEST['color_id']; $color_id = $_REQUEST['color_id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
@ -175,7 +173,6 @@ class BagController extends BaseAuthedController {
public function downItem() public function downItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$item_id = $_REQUEST['item_id']; $item_id = $_REQUEST['item_id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if(!$conn){ if(!$conn){
@ -221,7 +218,6 @@ class BagController extends BaseAuthedController {
public function downItemColor() public function downItemColor()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$item_id = $_REQUEST['item_id']; $item_id = $_REQUEST['item_id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if(!$conn){ if(!$conn){
@ -252,7 +248,6 @@ class BagController extends BaseAuthedController {
public function tryItem() public function tryItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$item_id = $_REQUEST['item_id']; $item_id = $_REQUEST['item_id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if(!$conn){ if(!$conn){
@ -273,7 +268,6 @@ class BagController extends BaseAuthedController {
public function freeGetItem() public function freeGetItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$arr = $_REQUEST['arr']; $arr = $_REQUEST['arr'];
$delim = ','; $delim = ',';
$item_multiply = explode($delim, $arr); $item_multiply = explode($delim, $arr);
@ -317,7 +311,6 @@ class BagController extends BaseAuthedController {
public function updateWeizhuang() public function updateWeizhuang()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -360,7 +353,6 @@ class BagController extends BaseAuthedController {
public function deleteItem() public function deleteItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -29,7 +29,6 @@ class EquipController extends BaseAuthedController {
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -111,7 +110,6 @@ class EquipController extends BaseAuthedController {
public function speedUpTime() public function speedUpTime()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -208,7 +206,6 @@ class EquipController extends BaseAuthedController {
public function exchangeNewEquip() public function exchangeNewEquip()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$equip_id = $_REQUEST['id']; $equip_id = $_REQUEST['id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -251,7 +248,6 @@ class EquipController extends BaseAuthedController {
public function shengjiEquip() public function shengjiEquip()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$equip_id = $_REQUEST['id']; $equip_id = $_REQUEST['id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -465,7 +461,6 @@ class EquipController extends BaseAuthedController {
public function jinjieEquip() public function jinjieEquip()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$equip_id = $_REQUEST['id']; $equip_id = $_REQUEST['id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -630,7 +625,6 @@ class EquipController extends BaseAuthedController {
public function unlockEquip() public function unlockEquip()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
if(!$conn){ if(!$conn){

View File

@ -58,7 +58,6 @@ class FesActivityController extends BaseAuthedController {
public function acitivityInfo() public function acitivityInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -117,7 +116,6 @@ class FesActivityController extends BaseAuthedController {
public function getActReward() public function getActReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -189,7 +187,6 @@ class FesActivityController extends BaseAuthedController {
public function getActExtraReward() public function getActExtraReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -206,7 +206,6 @@ class FriendController extends BaseAuthedController {
public function createRoleInfo() public function createRoleInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -274,7 +273,6 @@ class FriendController extends BaseAuthedController {
public function changeRoleInfo() public function changeRoleInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$user_name = $_REQUEST['user_name']; $user_name = $_REQUEST['user_name'];
$avatar_url = $_REQUEST['avatar_url']; $avatar_url = $_REQUEST['avatar_url'];
$sex = $_REQUEST['sex']; $sex = $_REQUEST['sex'];
@ -292,7 +290,6 @@ class FriendController extends BaseAuthedController {
public function selRepeatName() public function selRepeatName()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conns = $this->getAllMysql(); $conns = $this->getAllMysql();
if (!$conns) { if (!$conns) {
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');

View File

@ -30,7 +30,6 @@ class GameOverController extends BaseAuthedController {
public function firstRewardInfo() public function firstRewardInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$first_uuid = 'game2005api_first_uuid:' . $_REQUEST['account_id']; $first_uuid = 'game2005api_first_uuid:' . $_REQUEST['account_id'];
$r = $this->getRedis($first_uuid); $r = $this->getRedis($first_uuid);
@ -92,7 +91,6 @@ class GameOverController extends BaseAuthedController {
public function getFirstReward() public function getFirstReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
$first_uuid = $_REQUEST['first_uuid']; $first_uuid = $_REQUEST['first_uuid'];
$item_id = 0; $item_id = 0;
@ -270,7 +268,6 @@ class GameOverController extends BaseAuthedController {
public function getFuckBoxReward() public function getFuckBoxReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = 10; $id = 10;
if (isset($_REQUEST['id'])) { if (isset($_REQUEST['id'])) {
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
@ -353,7 +350,6 @@ class GameOverController extends BaseAuthedController {
public function getDiamond() public function getDiamond()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$addreward = new classes\AddReward(); $addreward = new classes\AddReward();
$p = mt\Parameter::getOldParam(CLAN_VIDEO_DIAMOND); $p = mt\Parameter::getOldParam(CLAN_VIDEO_DIAMOND);
$par = $p['param_value']; $par = $p['param_value'];
@ -369,7 +365,6 @@ class GameOverController extends BaseAuthedController {
public function updateDiamond() public function updateDiamond()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -401,7 +396,6 @@ class GameOverController extends BaseAuthedController {
public function addSpoilsItems() public function addSpoilsItems()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -446,7 +440,6 @@ class GameOverController extends BaseAuthedController {
public function fightRevive() public function fightRevive()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');

View File

@ -16,7 +16,6 @@ class HangController extends BaseAuthedController {
public function getTime() public function getTime()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -33,7 +32,6 @@ class HangController extends BaseAuthedController {
public function getRedInfo() public function getRedInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -48,7 +46,6 @@ class HangController extends BaseAuthedController {
public function getOnlineReward() public function getOnlineReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -179,7 +176,6 @@ class HangController extends BaseAuthedController {
public function getHangDoubleReward() public function getHangDoubleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$item_id = 0; $item_id = 0;
$num = 0; $num = 0;

View File

@ -15,7 +15,6 @@ class PassController extends BaseAuthedController {
public function getPassInfo() public function getPassInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -184,7 +183,6 @@ class PassController extends BaseAuthedController {
public function getPassReward() public function getPassReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -293,7 +291,6 @@ class PassController extends BaseAuthedController {
public function getWeekReward() public function getWeekReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -391,7 +388,6 @@ class PassController extends BaseAuthedController {
public function getSeaReward() public function getSeaReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -498,7 +494,6 @@ class PassController extends BaseAuthedController {
public function buyExp() public function buyExp()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -540,7 +535,6 @@ class PassController extends BaseAuthedController {
public function getAllPassReward() public function getAllPassReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -89,7 +89,6 @@ class PayActivityController extends BaseAuthedController {
public function rechargeRmb() public function rechargeRmb()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -154,7 +153,6 @@ class PayActivityController extends BaseAuthedController {
public function rechargeBuy() public function rechargeBuy()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -207,7 +205,6 @@ class PayActivityController extends BaseAuthedController {
public function unlockPassCard() public function unlockPassCard()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -270,7 +267,6 @@ class PayActivityController extends BaseAuthedController {
public function recAcitivityInfo() public function recAcitivityInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -356,7 +352,6 @@ class PayActivityController extends BaseAuthedController {
public function recAcitivityReward() public function recAcitivityReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -865,7 +860,6 @@ class PayActivityController extends BaseAuthedController {
public function shareDiscount() public function shareDiscount()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -913,7 +907,6 @@ class PayActivityController extends BaseAuthedController {
public function flushDiscountShop() public function flushDiscountShop()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -973,7 +966,6 @@ class PayActivityController extends BaseAuthedController {
public function changeHeadKuang() public function changeHeadKuang()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -1001,7 +993,6 @@ class PayActivityController extends BaseAuthedController {
public function addmailReward() public function addmailReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$attachment = $_REQUEST['attachment']; $attachment = $_REQUEST['attachment'];
$item_list = array(); $item_list = array();
$all_item_list = array(); $all_item_list = array();

View File

@ -95,7 +95,6 @@ class PayController extends BaseAuthedController {
public function getPayInfo() public function getPayInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -194,7 +193,6 @@ class PayController extends BaseAuthedController {
public function getVipInfo() public function getVipInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -304,7 +302,6 @@ class PayController extends BaseAuthedController {
public function getVipReward() public function getVipReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -443,7 +440,6 @@ class PayController extends BaseAuthedController {
public function buyItem() public function buyItem()
{ {
//登录校验
$itemid = $_REQUEST['itemid']; $itemid = $_REQUEST['itemid'];
$itemnum = $_REQUEST['itemnum']; $itemnum = $_REQUEST['itemnum'];
@ -503,7 +499,6 @@ class PayController extends BaseAuthedController {
public function addADtimes() public function addADtimes()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -25,7 +25,6 @@ class QuestController extends BaseAuthedController {
public function questInfo() public function questInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$quest_list = array(); $quest_list = array();
$active_list = array(); $active_list = array();
@ -67,7 +66,6 @@ class QuestController extends BaseAuthedController {
public function doubleQuestReward() public function doubleQuestReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$quest_id = $_REQUEST['quest_id']; $quest_id = $_REQUEST['quest_id'];
$quest_type = $_REQUEST['type']; $quest_type = $_REQUEST['type'];
$p = mt\Parameter::getOldParam(REWARD_TIMES); $p = mt\Parameter::getOldParam(REWARD_TIMES);
@ -133,7 +131,6 @@ class QuestController extends BaseAuthedController {
public function submitQuest() public function submitQuest()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$quest_id = $_REQUEST['quest_id']; $quest_id = $_REQUEST['quest_id'];
$quest_type = $_REQUEST['type']; $quest_type = $_REQUEST['type'];
$lv = $_REQUEST['lv']; $lv = $_REQUEST['lv'];
@ -227,7 +224,6 @@ class QuestController extends BaseAuthedController {
public function addGuildTask() public function addGuildTask()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
$num = $_REQUEST['num']; $num = $_REQUEST['num'];

View File

@ -9,7 +9,6 @@ class RankController extends BaseAuthedController {
public function rankInfo() public function rankInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');

View File

@ -29,7 +29,6 @@ class RoleController extends BaseAuthedController {
$testTask = new NTaskController(); $testTask = new NTaskController();
$testTask->updateTaskToDB(QUEST_DAY_LOGIN,1); $testTask->updateTaskToDB(QUEST_DAY_LOGIN,1);
//创建任务对象结束-- //创建任务对象结束--
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -846,7 +845,6 @@ class RoleController extends BaseAuthedController {
public function historyRecord() public function historyRecord()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$record_list = array(); $record_list = array();
if (!$conn) { if (!$conn) {
@ -884,7 +882,6 @@ class RoleController extends BaseAuthedController {
public function shareGame() public function shareGame()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -901,7 +898,6 @@ class RoleController extends BaseAuthedController {
public function historyInfo() public function historyInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -929,7 +925,6 @@ class RoleController extends BaseAuthedController {
public function collectReward() public function collectReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$record_list = array(); $record_list = array();
if (!$conn) { if (!$conn) {
@ -979,7 +974,6 @@ class RoleController extends BaseAuthedController {
public function collectDoubleReward() public function collectDoubleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$record_list = array(); $record_list = array();
if (!$conn) { if (!$conn) {
@ -1016,7 +1010,6 @@ class RoleController extends BaseAuthedController {
public function getPreSettlementInfo() public function getPreSettlementInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$pre_settlement_info = ''; $pre_settlement_info = '';
if (!$conn) { if (!$conn) {
@ -1033,7 +1026,6 @@ class RoleController extends BaseAuthedController {
public function getRobotInfo() public function getRobotInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$member = array(); $member = array();
$i = Rand(1, 100); $i = Rand(1, 100);
$coin = Rand(1, 100) * 0.01; $coin = Rand(1, 100) * 0.01;
@ -1094,7 +1086,6 @@ class RoleController extends BaseAuthedController {
public function getFightReward() public function getFightReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$coin_num = $_REQUEST['coin_num']; $coin_num = $_REQUEST['coin_num'];
$reward_id = $_REQUEST['reward_id']; $reward_id = $_REQUEST['reward_id'];
$reward_num = $_REQUEST['reward_num']; $reward_num = $_REQUEST['reward_num'];
@ -1119,7 +1110,6 @@ class RoleController extends BaseAuthedController {
public function getNewHandReward() public function getNewHandReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1245,7 +1235,6 @@ class RoleController extends BaseAuthedController {
public function exchangeCoin() public function exchangeCoin()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1328,7 +1317,6 @@ class RoleController extends BaseAuthedController {
public function saveNewbie() public function saveNewbie()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1371,7 +1359,6 @@ class RoleController extends BaseAuthedController {
public function updateDailyAD() public function updateDailyAD()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1399,7 +1386,6 @@ class RoleController extends BaseAuthedController {
public function getVideoReward() public function getVideoReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1445,7 +1431,6 @@ class RoleController extends BaseAuthedController {
public function getDeskReward() public function getDeskReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1520,7 +1505,6 @@ class RoleController extends BaseAuthedController {
public function getShareVideoReward() public function getShareVideoReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1596,7 +1580,6 @@ class RoleController extends BaseAuthedController {
public function getWatchAdReward() public function getWatchAdReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -1673,7 +1656,6 @@ class RoleController extends BaseAuthedController {
public function addVideotimes() public function addVideotimes()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
} }
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -1716,7 +1698,6 @@ class RoleController extends BaseAuthedController {
public function getFightEquip() public function getFightEquip()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {

View File

@ -107,7 +107,6 @@ class ShareController extends BaseAuthedController {
public function beeReward() public function beeReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -163,7 +162,6 @@ class ShareController extends BaseAuthedController {
public function keyBoxInfo() public function keyBoxInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -287,7 +285,6 @@ class ShareController extends BaseAuthedController {
public function keyBoxDoubleReward() public function keyBoxDoubleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -334,7 +331,6 @@ class ShareController extends BaseAuthedController {
public function shareFriendInfo() public function shareFriendInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -405,7 +401,6 @@ class ShareController extends BaseAuthedController {
public function shareFriendReward() public function shareFriendReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -490,7 +485,6 @@ class ShareController extends BaseAuthedController {
public function shareDobleReward() public function shareDobleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -546,7 +540,6 @@ class ShareController extends BaseAuthedController {
public function getKefuReward() public function getKefuReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
@ -653,7 +646,6 @@ class ShareController extends BaseAuthedController {
public function kefuDoubleReward() public function kefuDoubleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家'); phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');

View File

@ -151,7 +151,6 @@ class ShopController extends BaseAuthedController {
public function newShopInfo() public function newShopInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
if (!$conn) { if (!$conn) {
@ -350,7 +349,6 @@ class ShopController extends BaseAuthedController {
public function flushShopItem() public function flushShopItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
$shop_type = $_REQUEST['shop_type']; $shop_type = $_REQUEST['shop_type'];
@ -456,7 +454,6 @@ class ShopController extends BaseAuthedController {
public function newBuyShopItem() public function newBuyShopItem()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
$num = $_REQUEST['num']; $num = $_REQUEST['num'];
@ -750,7 +747,6 @@ class ShopController extends BaseAuthedController {
public function shopBuyMore() public function shopBuyMore()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$id = $_REQUEST['id']; $id = $_REQUEST['id'];
$type = $_REQUEST['type']; $type = $_REQUEST['type'];
$num = $_REQUEST['num']; $num = $_REQUEST['num'];

View File

@ -77,7 +77,6 @@ class SignController extends BaseAuthedController {
public function signInfo() public function signInfo()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$conn = $this->getMysql($account_id); $conn = $this->getMysql($account_id);
$last_sign_id = 0; $last_sign_id = 0;
if (!$conn) { if (!$conn) {
@ -212,7 +211,6 @@ class SignController extends BaseAuthedController {
public function signReward() public function signReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');
@ -299,7 +297,6 @@ class SignController extends BaseAuthedController {
public function signDoubleReward() public function signDoubleReward()
{ {
$account_id = $_REQUEST['account_id']; $account_id = $_REQUEST['account_id'];
//登录校验
$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, '没有这个玩家');