This commit is contained in:
aozhiwei 2020-09-29 19:24:27 +08:00
parent 6d59d014f2
commit 2d39b0f09c

View File

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