This commit is contained in:
Jerry Yan 2020-12-16 20:43:21 +08:00
parent fc35332d22
commit 216ce5b3a2

View File

@ -8,7 +8,7 @@ use think\Db;
class UserVouchers extends Base{
public function startRevokeVouchers(){
$LOG = "=========================================".PHP_EOL;
// if('127.0.0.1' != $ip = request()->ip(0) ) return $ip;
if('127.0.0.1' != $ip = request()->ip(0) ) return $ip;
set_time_limit(0);
$m = Model('common/Table');
$m->setTable('user_vouchers_summary');
@ -77,7 +77,7 @@ class UserVouchers extends Base{
}
public function startGiveVouchers(){
$LOG = "=========================================".PHP_EOL;
// if('127.0.0.1' != $ip = request()->ip(0) ) return $ip;
if('127.0.0.1' != $ip = request()->ip(0) ) return $ip;
set_time_limit(0);
$sm = Model('common/SysSummary');
$sysData= $sm->getInfo('toPayFast,toPaySlow');