feat : add_staple_food
This commit is contained in:
@@ -154,7 +154,7 @@ trait OrderTrait
|
||||
|
||||
$closeOrderFlag = match ($this->orderType) {
|
||||
OrderCode::ORDER_TYPE_OPTIONAL => $this->checkIsStopOrder($siteId, $this->cycleId),
|
||||
OrderCode::ORDER_TYPE_MEAL => true,
|
||||
OrderCode::ORDER_TYPE_MEAL => false, //todo 这里逻辑补全
|
||||
};
|
||||
|
||||
if ($closeOrderFlag) throw new ErrException('该点已经截单');
|
||||
|
||||
Reference in New Issue
Block a user