feat : add_staple_food
This commit is contained in:
@@ -39,7 +39,7 @@ trait CycleTrait
|
||||
*/
|
||||
protected function initTodayCycleId(): float|bool|Redis|int
|
||||
{
|
||||
$TodayCutOffTime = $this->configCache->getConfigValueByKey(ConfigCode::TODAY_CUT_OFF_TIME_KEY);
|
||||
$TodayCutOffTime = $this->configCache->getConfigValueByKey(ConfigCode::START_OF_THE_NEW_CYCLE);
|
||||
|
||||
if (date('H:i:s') >= ($TodayCutOffTime)) {
|
||||
$day = date('Y-m-d',strtotime('+1 day'));
|
||||
|
||||
Reference in New Issue
Block a user