This commit is contained in:
aozhiwei 2021-11-18 19:48:45 +08:00
parent fa4ea0bec6
commit 9193dd9f1a
2 changed files with 0 additions and 36 deletions

View File

@ -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',

View File

@ -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;