移除//登录校验
This commit is contained in:
parent
b4d8768778
commit
f23cc45d70
@ -105,7 +105,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function newLuckDrawInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -224,7 +223,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function getNewLuckDraw()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -405,7 +403,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function drawTableInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -442,7 +439,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function getDrawTable()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -557,7 +553,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function doubleLuckDraw()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -650,7 +645,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function lotteryReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$pool = $_REQUEST['pool'];
|
||||
$rec = $this->getRecommend($pool);
|
||||
$reward_id = 0;
|
||||
@ -782,7 +776,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function getBoxOrder()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -921,7 +914,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function getOrderReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -1066,7 +1058,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function drawBoxInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1111,7 +1102,6 @@ class ActivityController extends BaseAuthedController {
|
||||
public function drawBoxReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -164,7 +164,6 @@ class AdditemController extends BaseAuthedController {
|
||||
public function getCoin()
|
||||
{
|
||||
$accountid = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$num = $_REQUEST['num'];
|
||||
$conn = $this->getMysql($accountid);
|
||||
if (!$conn) {
|
||||
|
@ -40,7 +40,6 @@ class BagController extends BaseAuthedController {
|
||||
public function getBagInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -96,7 +95,6 @@ class BagController extends BaseAuthedController {
|
||||
|
||||
public function exchangeBagItem() {
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$item_id = $_REQUEST['item_id'];
|
||||
$color_id = $_REQUEST['color_id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
@ -175,7 +173,6 @@ class BagController extends BaseAuthedController {
|
||||
public function downItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$item_id = $_REQUEST['item_id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if(!$conn){
|
||||
@ -221,7 +218,6 @@ class BagController extends BaseAuthedController {
|
||||
public function downItemColor()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$item_id = $_REQUEST['item_id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if(!$conn){
|
||||
@ -252,7 +248,6 @@ class BagController extends BaseAuthedController {
|
||||
public function tryItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$item_id = $_REQUEST['item_id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if(!$conn){
|
||||
@ -273,7 +268,6 @@ class BagController extends BaseAuthedController {
|
||||
public function freeGetItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$arr = $_REQUEST['arr'];
|
||||
$delim = ',';
|
||||
$item_multiply = explode($delim, $arr);
|
||||
@ -317,7 +311,6 @@ class BagController extends BaseAuthedController {
|
||||
public function updateWeizhuang()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if(!$conn){
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -360,7 +353,6 @@ class BagController extends BaseAuthedController {
|
||||
public function deleteItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if(!$conn){
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -29,7 +29,6 @@ class EquipController extends BaseAuthedController {
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -111,7 +110,6 @@ class EquipController extends BaseAuthedController {
|
||||
public function speedUpTime()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -208,7 +206,6 @@ class EquipController extends BaseAuthedController {
|
||||
public function exchangeNewEquip()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$equip_id = $_REQUEST['id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -251,7 +248,6 @@ class EquipController extends BaseAuthedController {
|
||||
public function shengjiEquip()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$equip_id = $_REQUEST['id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -465,7 +461,6 @@ class EquipController extends BaseAuthedController {
|
||||
public function jinjieEquip()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$equip_id = $_REQUEST['id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -630,7 +625,6 @@ class EquipController extends BaseAuthedController {
|
||||
public function unlockEquip()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$id = $_REQUEST['id'];
|
||||
if(!$conn){
|
||||
|
@ -58,7 +58,6 @@ class FesActivityController extends BaseAuthedController {
|
||||
public function acitivityInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -117,7 +116,6 @@ class FesActivityController extends BaseAuthedController {
|
||||
public function getActReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -189,7 +187,6 @@ class FesActivityController extends BaseAuthedController {
|
||||
public function getActExtraReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -206,7 +206,6 @@ class FriendController extends BaseAuthedController {
|
||||
public function createRoleInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -274,7 +273,6 @@ class FriendController extends BaseAuthedController {
|
||||
public function changeRoleInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$user_name = $_REQUEST['user_name'];
|
||||
$avatar_url = $_REQUEST['avatar_url'];
|
||||
$sex = $_REQUEST['sex'];
|
||||
@ -292,7 +290,6 @@ class FriendController extends BaseAuthedController {
|
||||
public function selRepeatName()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conns = $this->getAllMysql();
|
||||
if (!$conns) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -30,7 +30,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function firstRewardInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
|
||||
$first_uuid = 'game2005api_first_uuid:' . $_REQUEST['account_id'];
|
||||
$r = $this->getRedis($first_uuid);
|
||||
@ -92,7 +91,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function getFirstReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$type = $_REQUEST['type'];
|
||||
$first_uuid = $_REQUEST['first_uuid'];
|
||||
$item_id = 0;
|
||||
@ -270,7 +268,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function getFuckBoxReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = 10;
|
||||
if (isset($_REQUEST['id'])) {
|
||||
$id = $_REQUEST['id'];
|
||||
@ -353,7 +350,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function getDiamond()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$addreward = new classes\AddReward();
|
||||
$p = mt\Parameter::getOldParam(CLAN_VIDEO_DIAMOND);
|
||||
$par = $p['param_value'];
|
||||
@ -369,7 +365,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function updateDiamond()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -401,7 +396,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function addSpoilsItems()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -446,7 +440,6 @@ class GameOverController extends BaseAuthedController {
|
||||
public function fightRevive()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
|
@ -16,7 +16,6 @@ class HangController extends BaseAuthedController {
|
||||
public function getTime()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -33,7 +32,6 @@ class HangController extends BaseAuthedController {
|
||||
public function getRedInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -48,7 +46,6 @@ class HangController extends BaseAuthedController {
|
||||
public function getOnlineReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -179,7 +176,6 @@ class HangController extends BaseAuthedController {
|
||||
public function getHangDoubleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$item_id = 0;
|
||||
$num = 0;
|
||||
|
@ -15,7 +15,6 @@ class PassController extends BaseAuthedController {
|
||||
public function getPassInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -184,7 +183,6 @@ class PassController extends BaseAuthedController {
|
||||
public function getPassReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -293,7 +291,6 @@ class PassController extends BaseAuthedController {
|
||||
public function getWeekReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -391,7 +388,6 @@ class PassController extends BaseAuthedController {
|
||||
public function getSeaReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -498,7 +494,6 @@ class PassController extends BaseAuthedController {
|
||||
public function buyExp()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -540,7 +535,6 @@ class PassController extends BaseAuthedController {
|
||||
public function getAllPassReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -89,7 +89,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function rechargeRmb()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -154,7 +153,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function rechargeBuy()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -207,7 +205,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function unlockPassCard()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -270,7 +267,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function recAcitivityInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -356,7 +352,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function recAcitivityReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -865,7 +860,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function shareDiscount()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -913,7 +907,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function flushDiscountShop()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -973,7 +966,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function changeHeadKuang()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -1001,7 +993,6 @@ class PayActivityController extends BaseAuthedController {
|
||||
public function addmailReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$attachment = $_REQUEST['attachment'];
|
||||
$item_list = array();
|
||||
$all_item_list = array();
|
||||
|
@ -95,7 +95,6 @@ class PayController extends BaseAuthedController {
|
||||
public function getPayInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -194,7 +193,6 @@ class PayController extends BaseAuthedController {
|
||||
public function getVipInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -304,7 +302,6 @@ class PayController extends BaseAuthedController {
|
||||
public function getVipReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -443,7 +440,6 @@ class PayController extends BaseAuthedController {
|
||||
|
||||
public function buyItem()
|
||||
{
|
||||
//登录校验
|
||||
$itemid = $_REQUEST['itemid'];
|
||||
$itemnum = $_REQUEST['itemnum'];
|
||||
|
||||
@ -503,7 +499,6 @@ class PayController extends BaseAuthedController {
|
||||
public function addADtimes()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -25,7 +25,6 @@ class QuestController extends BaseAuthedController {
|
||||
public function questInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$quest_list = array();
|
||||
$active_list = array();
|
||||
@ -67,7 +66,6 @@ class QuestController extends BaseAuthedController {
|
||||
public function doubleQuestReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$quest_id = $_REQUEST['quest_id'];
|
||||
$quest_type = $_REQUEST['type'];
|
||||
$p = mt\Parameter::getOldParam(REWARD_TIMES);
|
||||
@ -133,7 +131,6 @@ class QuestController extends BaseAuthedController {
|
||||
public function submitQuest()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$quest_id = $_REQUEST['quest_id'];
|
||||
$quest_type = $_REQUEST['type'];
|
||||
$lv = $_REQUEST['lv'];
|
||||
@ -227,7 +224,6 @@ class QuestController extends BaseAuthedController {
|
||||
public function addGuildTask()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = $_REQUEST['id'];
|
||||
$type = $_REQUEST['type'];
|
||||
$num = $_REQUEST['num'];
|
||||
|
@ -9,7 +9,6 @@ class RankController extends BaseAuthedController {
|
||||
public function rankInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
@ -29,7 +29,6 @@ class RoleController extends BaseAuthedController {
|
||||
$testTask = new NTaskController();
|
||||
$testTask->updateTaskToDB(QUEST_DAY_LOGIN,1);
|
||||
//创建任务对象结束--
|
||||
//登录校验
|
||||
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -846,7 +845,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function historyRecord()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$record_list = array();
|
||||
if (!$conn) {
|
||||
@ -884,7 +882,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function shareGame()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -901,7 +898,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function historyInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -929,7 +925,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function collectReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$record_list = array();
|
||||
if (!$conn) {
|
||||
@ -979,7 +974,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function collectDoubleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$record_list = array();
|
||||
if (!$conn) {
|
||||
@ -1016,7 +1010,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getPreSettlementInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$pre_settlement_info = '';
|
||||
if (!$conn) {
|
||||
@ -1033,7 +1026,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getRobotInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$member = array();
|
||||
$i = Rand(1, 100);
|
||||
$coin = Rand(1, 100) * 0.01;
|
||||
@ -1094,7 +1086,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getFightReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$coin_num = $_REQUEST['coin_num'];
|
||||
$reward_id = $_REQUEST['reward_id'];
|
||||
$reward_num = $_REQUEST['reward_num'];
|
||||
@ -1119,7 +1110,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getNewHandReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1245,7 +1235,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function exchangeCoin()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1328,7 +1317,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function saveNewbie()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1371,7 +1359,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function updateDailyAD()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1399,7 +1386,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getVideoReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1445,7 +1431,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getDeskReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1520,7 +1505,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getShareVideoReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1596,7 +1580,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getWatchAdReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -1673,7 +1656,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function addVideotimes()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
}
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -1716,7 +1698,6 @@ class RoleController extends BaseAuthedController {
|
||||
public function getFightEquip()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = $_REQUEST['id'];
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
|
@ -107,7 +107,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function beeReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -163,7 +162,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function keyBoxInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -287,7 +285,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function keyBoxDoubleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -334,7 +331,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function shareFriendInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -405,7 +401,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function shareFriendReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -490,7 +485,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function shareDobleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -546,7 +540,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function getKefuReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
@ -653,7 +646,6 @@ class ShareController extends BaseAuthedController {
|
||||
public function kefuDoubleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个玩家');
|
||||
|
@ -151,7 +151,6 @@ class ShopController extends BaseAuthedController {
|
||||
public function newShopInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
@ -350,7 +349,6 @@ class ShopController extends BaseAuthedController {
|
||||
public function flushShopItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = $_REQUEST['id'];
|
||||
$type = $_REQUEST['type'];
|
||||
$shop_type = $_REQUEST['shop_type'];
|
||||
@ -456,7 +454,6 @@ class ShopController extends BaseAuthedController {
|
||||
public function newBuyShopItem()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = $_REQUEST['id'];
|
||||
$type = $_REQUEST['type'];
|
||||
$num = $_REQUEST['num'];
|
||||
@ -750,7 +747,6 @@ class ShopController extends BaseAuthedController {
|
||||
public function shopBuyMore()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$id = $_REQUEST['id'];
|
||||
$type = $_REQUEST['type'];
|
||||
$num = $_REQUEST['num'];
|
||||
|
@ -77,7 +77,6 @@ class SignController extends BaseAuthedController {
|
||||
public function signInfo()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
$last_sign_id = 0;
|
||||
if (!$conn) {
|
||||
@ -212,7 +211,6 @@ class SignController extends BaseAuthedController {
|
||||
public function signReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
@ -299,7 +297,6 @@ class SignController extends BaseAuthedController {
|
||||
public function signDoubleReward()
|
||||
{
|
||||
$account_id = $_REQUEST['account_id'];
|
||||
//登录校验
|
||||
$conn = $this->getMysql($account_id);
|
||||
if (!$conn) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||
|
Loading…
x
Reference in New Issue
Block a user