逻辑更改

This commit is contained in:
Jerry Yan 2020-01-14 19:39:36 +08:00
parent 2905f0cf3d
commit 2da16abfee
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -7,7 +7,7 @@ use think\Db;
*/ */
class UserVouchers extends Base{ class UserVouchers extends Base{
public function startGiveVouchers(){ public function startGiveVouchers(){
if(request()->ip(0) != '127.0.0.1') return; if('127.0.0.1' != $ip = request()->ip(0) ) return $ip;
set_time_limit(0); set_time_limit(0);
$sm = Model('common/SysSummary'); $sm = Model('common/SysSummary');
$sysData= $sm->getInfo('toPayFast,toPaySlow'); $sysData= $sm->getInfo('toPayFast,toPaySlow');