|
|
|
@ -18,25 +18,7 @@ use Illuminate\Support\Facades\Validator;
|
|
|
|
class SupplyDemandController extends CommonController
|
|
|
|
class SupplyDemandController extends CommonController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @OA\Get(
|
|
|
|
|
|
|
|
* path="/api/mobile/supply-demand/index",
|
|
|
|
|
|
|
|
* tags={"小程序-供需"},
|
|
|
|
|
|
|
|
* summary="供需列表",
|
|
|
|
|
|
|
|
* @OA\Parameter(name="myself", in="query", @OA\Schema(type="integer"), required=true, description="是否只看自己的0否1是"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="type", in="query", @OA\Schema(type="integer"), required=true, description="类型"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="keyword", in="query", @OA\Schema(type="integer"), required=true, description="关键词"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="status", in="query", @OA\Schema(type="integer"), required=true, description="状态0待审核1通过2拒绝"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="page_size", in="query", @OA\Schema(type="string"), required=false, description="每页显示的条数"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="page", in="query", @OA\Schema(type="string"), required=false, description="页码"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="sort_name", in="query", @OA\Schema(type="string"), required=false, description="排序字段名字"),
|
|
|
|
|
|
|
|
* @OA\Parameter(name="sort_type", in="query", @OA\Schema(type="string"), required=false, description="排序类型")
|
|
|
|
|
|
|
|
* @OA\Response(
|
|
|
|
|
|
|
|
* response=200,
|
|
|
|
|
|
|
|
* description="操作成功"
|
|
|
|
|
|
|
|
* )
|
|
|
|
|
|
|
|
* )
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public function index()
|
|
|
|
public function index()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$all = request()->all();
|
|
|
|
$all = request()->all();
|
|
|
|
|