BaseController.php 652 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * 重庆赤晓店信息科技有限公司
  4. * https://www.chixiaodian.com
  5. * Copyright (c) 2023 赤店商城 All rights reserved.
  6. */
  7. namespace app\modules\admin\controllers\agent\front_erp;
  8. use app\modules\admin\behaviors\AgentFrontErpAuth;
  9. use app\modules\admin\controllers\BaseController as YBaseController;
  10. use yii\helpers\ArrayHelper;
  11. class BaseController extends YBaseController
  12. {
  13. public $front_agent_admin_id;
  14. public function behaviors()
  15. {
  16. return ArrayHelper::merge(parent::behaviors(), [
  17. [
  18. 'class' => AgentFrontErpAuth::class
  19. ]
  20. ]);
  21. }
  22. }