逻辑更改

This commit is contained in:
Jerry Yan 2020-01-14 19:39:36 +08:00 committed by JerryYan
parent a8b1c746c5
commit 69f7ad7a86
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{
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);
$sm = Model('common/SysSummary');
$sysData= $sm->getInfo('toPayFast,toPaySlow');