Unit.php 440 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace app\admin\controller\qingdong\product;
  3. use app\admin\controller\qingdong\Base;
  4. /**
  5. * 商品单位
  6. *
  7. * @icon fa fa-bars
  8. */
  9. class Unit extends Base
  10. {
  11. /**
  12. * Producttype模型对象
  13. * @var \addons\qingdong\model\GoodsUnit
  14. */
  15. protected $model = null;
  16. public function _initialize()
  17. {
  18. parent::_initialize();
  19. $this->model = new \addons\qingdong\model\GoodsUnit();
  20. }
  21. }