From 9193dd9f1a30e162113f6583b2f4bc5b3fd9d2bf Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 18 Nov 2021 19:48:45 +0800 Subject: [PATCH] 1 --- doc/NRR.py | 22 ---------------------- webapp/controller/NRRController.class.php | 14 -------------- 2 files changed, 36 deletions(-) diff --git a/doc/NRR.py b/doc/NRR.py index 2a4b894..ccdea5f 100644 --- a/doc/NRR.py +++ b/doc/NRR.py @@ -6,28 +6,6 @@ class NRR(object): def __init__(self): self.apis = [ - { - 'desc': 'getGunInfo', - 'group': 'NRR', - 'url': 'webapp/index.php?c=NRR&a=getGunInfo', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, - { - 'desc': 'test', - 'group': 'NRR', - 'url': 'webapp/index.php?c=NRR&a=test', - 'params': [ - _common.ReqHead(), - ], - 'response': [ - _common.RspHead(), - ] - }, { 'desc': 'ResetRRVIP', 'group': 'NRR', diff --git a/webapp/controller/NRRController.class.php b/webapp/controller/NRRController.class.php index 14ecc73..f3797fd 100644 --- a/webapp/controller/NRRController.class.php +++ b/webapp/controller/NRRController.class.php @@ -3,20 +3,6 @@ require_once('mt/Season.php'); require_once('mt/SeasonTaskExp.php'); class NRRController extends BaseAuthedController { - public $m_testCnt = 0; - public function getGunInfo() - { - $account_id = $_REQUEST['account_id']; - $conn = $this->getMysql($account_id); - $sqlStr = "SELECT * FROM gun_intensify WHERE accountid=:accountid; "; - $row = $conn->execQuery($sqlStr,array(':accountid' => $account_id)); - $this->sendDataToClient(0,"test02",$row); - } - public function test() - { - //error_log("testController====".$this->m_testCnt); - $this->m_testCnt ++; - } public function ResetRRVIP() { $code = 100;