AuctionController.php 694 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace app\api\controller\auction;
  3. use app\Request;
  4. use Monolog\Handler\Curl\Util;
  5. use think\facade\Cache;
  6. use crmeb\services\{
  7. CacheService,
  8. ExpressService,
  9. SystemConfigService,
  10. UtilService
  11. };
  12. use crmeb\repositories\OrderRepository;
  13. class AuctionController
  14. {
  15. /**
  16. * 场馆列表
  17. * @param Request $request
  18. * @return mixed
  19. */
  20. public function list(Request $request)
  21. {
  22. $data = UtilService::getMore([
  23. [['page', 'd'], 0],
  24. [['limit', 'd'], 0],
  25. ], $request);
  26. $auctionModel = new \app\models\auction\Auction();
  27. return app('json')->successful($auctionModel->list($data));
  28. }
  29. }