feat : add_staple_food
This commit is contained in:
@@ -15,6 +15,7 @@ use App\Cache\Redis\RedisCache;
|
||||
use App\Model\CouponTemplate;
|
||||
use App\Model\UserCoupon;
|
||||
use App\Service\Api\BaseService;
|
||||
use App\Service\ServiceTrait\Admin\Catering\PrintTrait;
|
||||
use App\Service\ServiceTrait\Api\OrderTrait;
|
||||
use App\Service\ServiceTrait\Common\CycleTrait;
|
||||
use Hyperf\Di\Annotation\Inject;
|
||||
@@ -23,7 +24,7 @@ use Psr\Container\NotFoundExceptionInterface;
|
||||
|
||||
abstract class BaseOrderService extends BaseService
|
||||
{
|
||||
use CycleTrait,OrderTrait;
|
||||
use CycleTrait,OrderTrait,PrintTrait;
|
||||
|
||||
/**
|
||||
* @var int 周期id
|
||||
@@ -170,6 +171,8 @@ abstract class BaseOrderService extends BaseService
|
||||
*/
|
||||
public function check(): void
|
||||
{
|
||||
$this->checkTodayCutOffTime();
|
||||
|
||||
$kitchenId = $this->checkSite($this->siteId);
|
||||
|
||||
$this->getGoodInfo($kitchenId);
|
||||
|
||||
Reference in New Issue
Block a user