Sfoglia il codice sorgente

提示时间更换

shish 2 anni fa
parent
commit
192ee3d367
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      app-ghs/controllers/RenewController.php

+ 3 - 3
app-ghs/controllers/RenewController.php

@@ -57,10 +57,10 @@ class RenewController extends BaseController
         $staffId = $staff->id ?? 0;
         $cacheKey = 'no_remind_' . $date . '_' . $staffId;
         $mainId = $this->mainId;
-        $time = 86400;
+        $time = 28800;
         if (getenv('YII_ENV') == 'production') {
             if ($mainId == 7704) {
-                $time = 13000;
+                $time = 16000;
             }
         } else {
             if ($mainId == 644) {
@@ -104,7 +104,7 @@ class RenewController extends BaseController
                 $unitPrice = $pfLevel == 0 ? 0.1 : 0.2;
             }
         } else {
-            $unitPrice = $pfLevel == 0 ? 0.1 : 10000;
+            $unitPrice = $pfLevel == 0 ? 0.1 : 0.2;
         }
         $price = bcmul($unitPrice, $year, 2);
         $data = [