From b9d34750f93fc937dc01e70ec91e1954b6cec8a7 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Wed, 30 Aug 2023 10:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/VerifyNeedPayContinue.php | 3 +-- app/Http/Controllers/PrintController.php | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/VerifyNeedPayContinue.php b/app/Console/Commands/VerifyNeedPayContinue.php index 5c345e3..bf985bb 100644 --- a/app/Console/Commands/VerifyNeedPayContinue.php +++ b/app/Console/Commands/VerifyNeedPayContinue.php @@ -27,10 +27,9 @@ class VerifyNeedPayContinue extends Command */ public function handle() { - // Oldmen::where('live_in', Oldmen::STATUS_LIVE) ->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 ]); } diff --git a/app/Http/Controllers/PrintController.php b/app/Http/Controllers/PrintController.php index cef5491..3761be4 100644 --- a/app/Http/Controllers/PrintController.php +++ b/app/Http/Controllers/PrintController.php @@ -19,6 +19,7 @@ class PrintController extends Controller $bigTotal = ''; $adminName = ''; $timeZone = ''; + $idsn = ''; $flow = ConstFlow::find($request->input('id', 0)); if($flow){