This commit is contained in:
aozhiwei 2020-10-09 18:38:09 +08:00
parent 2d39b0f09c
commit e262192aa3

View File

@ -70,7 +70,10 @@ class AdditemController{
$item_num = $_REQUEST['item_num'];
$accountid = $_REQUEST['account_id'];
$time = $_REQUEST['time'];
if (phpcommon\getIPv4() != '124.78.1.111') {
// if (phpcommon\getIPv4() != '124.78.1.111') {
// return;
// }
if ($_REQUEST['passwd'] != 'kingsome') {
return;
}
$conn = $this->getMysql($accountid);
@ -130,7 +133,10 @@ class AdditemController{
$item_num = $_REQUEST['item_num'];
$accountid = $_REQUEST['account_id'];
$time = $_REQUEST['time'];
if (phpcommon\getIPv4() != '124.78.1.111') {
// if (phpcommon\getIPv4() != '124.78.1.111') {
// return;
// }
if ($_REQUEST['passwd'] != 'kingsome') {
return;
}
$conn = $this->getMysql($accountid);
@ -162,7 +168,10 @@ class AdditemController{
$item_num = $_REQUEST['item_num'];
$accountid = $_REQUEST['account_id'];
$time = $_REQUEST['time'];
if (phpcommon\getIPv4() != '124.78.1.111') {
// if (phpcommon\getIPv4() != '124.78.1.111') {
// return;
// }
if ($_REQUEST['passwd'] != 'kingsome') {
return;
}
$conn = $this->getMysql($accountid);