shish hace 2 años
padre
commit
567fc14930
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      app-ghs/controllers/RenewController.php

+ 2 - 1
app-ghs/controllers/RenewController.php

@@ -31,6 +31,7 @@ class RenewController extends BaseController
         if ($shop->hasRenew == 1) {
             $need = 0;
         }
+        $renewType = $shop->renewType ?? 0;
 
         $date = date("Y_m_d");
         $staff = $this->shopAdmin;
@@ -49,7 +50,7 @@ class RenewController extends BaseController
 
         $hasRenew = $shop->hasRenew ?? 0;
 
-        util::success(['need' => $need, 'currentDeadline' => $old, 'newDeadline' => $new, 'hasRenew' => $hasRenew]);
+        util::success(['need' => $need, 'currentDeadline' => $old, 'newDeadline' => $new, 'hasRenew' => $hasRenew, 'renewType' => $renewType]);
     }
 
     //当天不需要再提醒 ssh 20240426