BookingController.php 663 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. namespace app\modules\alliance\controllers;
  8. use app\modules\alliance\controllers\BaseController;
  9. use app\modules\admin\models\booking\BookingForm;
  10. class BookingController extends BaseController
  11. {
  12. public function behaviors()
  13. {
  14. return parent::behaviors();
  15. }
  16. public function actionCatListSelect()
  17. {
  18. $form = new BookingForm();
  19. $form->store_id = get_store_id();
  20. $res = $form->catListSelect();
  21. return $this->asJson($res);
  22. }
  23. }