main
vine_liutk 2023-08-30 10:28:09 +08:00
parent 2250c7f047
commit b9d34750f9
2 changed files with 2 additions and 2 deletions

View File

@ -27,10 +27,9 @@ class VerifyNeedPayContinue extends Command
*/ */
public function handle() public function handle()
{ {
//
Oldmen::where('live_in', Oldmen::STATUS_LIVE) Oldmen::where('live_in', Oldmen::STATUS_LIVE)
->where('need_pay', Oldmen::PAY_NORMAL) ->where('need_pay', Oldmen::PAY_NORMAL)
->whereDate('avliable_at', Carbon::now()->subDays(settings()->get('live_continue_day', 0)))->update([ ->whereDate('avliable_at', Carbon::now()->addDays(settings()->get('live_continue_day', 0)))->update([
'need_pay' => Oldmen::PAY_NOTICE 'need_pay' => Oldmen::PAY_NOTICE
]); ]);
} }

View File

@ -19,6 +19,7 @@ class PrintController extends Controller
$bigTotal = ''; $bigTotal = '';
$adminName = ''; $adminName = '';
$timeZone = ''; $timeZone = '';
$idsn = '';
$flow = ConstFlow::find($request->input('id', 0)); $flow = ConstFlow::find($request->input('id', 0));
if($flow){ if($flow){