Store.php 998 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Niushop商城系统 - 团队十年电商经验汇集巨献!
  4. * =========================================================
  5. * Copy right 2019-2029 上海牛之云网络科技有限公司, 保留所有权利。
  6. * ----------------------------------------------
  7. * 官方网址: https://www.niushop.com
  8. * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
  9. * 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
  10. * =========================================================
  11. */
  12. namespace addon\stock\storeapi\controller;
  13. use addon\stock\model\Store as StoreModel;
  14. use app\storeapi\controller\BaseStoreApi;
  15. /**
  16. * 库存调拨
  17. */
  18. class Store extends BaseStoreApi
  19. {
  20. /**
  21. * 获取门店
  22. * @return false|string
  23. */
  24. public function lists()
  25. {
  26. $store_list = ( new StoreModel )->getStoreList($this->site_id);
  27. return $this->response($store_list);
  28. }
  29. }