ShopDelivery.php 635 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare (strict_types = 1);
  3. namespace app\admin\controller\shop;
  4. use app\common\controller\Backend;
  5. use think\annotation\route\Group;
  6. use app\admin\traits\Actions;
  7. use think\annotation\route\Route;
  8. use app\common\model\ShopDelivery as ShopDeliveryModel;
  9. #[Group("shop/shop_delivery")]
  10. class ShopDelivery extends Backend
  11. {
  12. use Actions;
  13. protected function _initialize()
  14. {
  15. parent::_initialize();
  16. $this->model = new ShopDeliveryModel();
  17. $this->assign('platformList', site_config('addonsd.platform_list'));
  18. $this->relationField=['customer','user','shops', 'variety', 'specs'];
  19. }
  20. }