From 2b738b7ba79ce46a4122815f781588ba0aab02e0 Mon Sep 17 00:00:00 2001 From: cody <648753004@qq.com> Date: Fri, 20 Jun 2025 17:10:32 +0800 Subject: [PATCH] update --- .../Mobile/SupplyDemandController.php | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Mobile/SupplyDemandController.php b/app/Http/Controllers/Mobile/SupplyDemandController.php index 87c8453..949cfee 100755 --- a/app/Http/Controllers/Mobile/SupplyDemandController.php +++ b/app/Http/Controllers/Mobile/SupplyDemandController.php @@ -18,7 +18,26 @@ use Illuminate\Support\Facades\Validator; class SupplyDemandController extends CommonController { - + /** + * @OA\Get( + * path="/api/mobile/supply-demand/index", + * tags={"小程序-供需"}, + * summary="供需列表", + * description="", + * @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() { $all = request()->all(); @@ -220,7 +239,7 @@ class SupplyDemandController extends CommonController * @OA\Get( * path="/api/mobile/supply-demand/message-list", * tags={"小程序-供需"}, - * summary="发送消息", + * summary="消息列表", * description="", * @OA\Parameter(name="supply_demand_id", in="query", @OA\Schema(type="string"), required=true, description="供需信息id"), * @OA\Parameter(name="page_size", in="query", @OA\Schema(type="string"), required=false, description="每页显示的条数"),