dlh_test_server/app/api/controller/GroupBuyGoods.php

29 lines
591 B
PHP
Raw Normal View History

2024-09-25 14:09:04 +08:00
<?php
namespace app\api\controller;
use app\api\logic\GroupBuyLogic;
use app\common\basics\Api;
use app\common\server\JsonServer;
class GroupBuyGoods extends Api
{
public $like_not_need_login = ['getGroupBuyGoods',];
/**
* @return void
* getGroupBuyGoods
* 商品抢购列表
*/
public function getGroupBuyGoods(){
$get = $this->request->get();
$get['page_no'] = $this->page_no;
$get['page_size'] = $this->page_size;
$data = GroupBuyLogic::getGroupBuyGoods($get);
return JsonServer::success('', $data);
}
}