GoodsController.php 435 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace pt\controllers;
  3. use bizHd\goods\services\GoodsService;
  4. use bizHd\retail\services\RetailAssetService;
  5. use Yii;
  6. use common\components\util;
  7. class GoodsController extends BaseController
  8. {
  9. //商品列表 ssh 2019.12.7
  10. public function actionList()
  11. {
  12. $where = [];
  13. $data = GoodsService::getGoodsList($where);
  14. $asset = RetailAssetService::getAsset();
  15. $data['RetailAsset'] = $asset;
  16. util::success($data);
  17. }
  18. }