1
This commit is contained in:
parent
fa4ea0bec6
commit
9193dd9f1a
22
doc/NRR.py
22
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',
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user