|
@@ -19,7 +19,7 @@ class GlobalController extends Controller
|
|
|
//每5分钟执行一次,所有门店库存预警
|
|
//每5分钟执行一次,所有门店库存预警
|
|
|
$hour = (int)date("H");
|
|
$hour = (int)date("H");
|
|
|
if ($hour >= 7 and $hour <= 23) {
|
|
if ($hour >= 7 and $hour <= 23) {
|
|
|
- if ((int)date('i') % 5 == 0) {
|
|
|
|
|
|
|
+ if ((int)date('i') % 10 == 0) {
|
|
|
ProductClass::allShopStockWarningFromQueue();
|
|
ProductClass::allShopStockWarningFromQueue();
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|