shish 3 lat temu
rodzic
commit
ab9018908a
1 zmienionych plików z 8 dodań i 0 usunięć
  1. 8 0
      app-hd/controllers/GhsController.php

+ 8 - 0
app-hd/controllers/GhsController.php

@@ -150,6 +150,14 @@ class GhsController extends BaseController
         $info['kiloFee'] = $ghsShop->kiloFee ?? 0;
         $info['miniKilo'] = $ghsShop->miniKilo ?? 0;
 
+        //杭州斗南鲜花批发 免运费活动
+        if ($id == 8053) {
+            $current = time();
+            if ($current < strtotime('2023-4-8 00:00:00')) {
+                $info['hasAct'] = 1;
+            }
+        }
+
         util::success($info);
     }