diff --git a/app/Http/Controllers/Customer/AuthController.php b/app/Http/Controllers/Customer/AuthController.php index 0ad69d1..596fcb1 100644 --- a/app/Http/Controllers/Customer/AuthController.php +++ b/app/Http/Controllers/Customer/AuthController.php @@ -49,6 +49,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/customer/login", + * tags={"用户端用户相关"}, * summary="V2-通过用户名和密码登录", * description="预留接口,用户测试账号密码登录。实际场景使用code换取openid进行登录", * @OA\Parameter(name="username", in="query", @OA\Schema(type="string"), required=true, description="用户名"), @@ -77,6 +78,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/customer/login-by-code", + * tags={"用户端用户相关"}, * summary="V2-通过微信端获取的code进行登录", * description="", * @OA\Parameter(name="code", in="query", @OA\Schema(type="string"), required=true, description="code"), @@ -116,6 +118,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/customer/me", + * tags={"用户端用户相关"}, * summary="V2-通过token换取个人信息", * description="", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -188,6 +191,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/customer/get-phone-by-openid", + * tags={"用户端用户相关"}, * summary="V2-通过openid,encryptedData,iv获取手机号", * description="", * @OA\Parameter(name="openid", in="query", @OA\Schema(type="string"), required=true, description="openid"), diff --git a/app/Http/Controllers/Customer/OrdersController.php b/app/Http/Controllers/Customer/OrdersController.php index f2ae073..72e1124 100644 --- a/app/Http/Controllers/Customer/OrdersController.php +++ b/app/Http/Controllers/Customer/OrdersController.php @@ -23,6 +23,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-product-by-project/{id}", + * tags={"用户端订单处理"}, * summary="V2-根据医院获取产品详情附带价格因子", * description="根据医院获取产品详情附带价格因子", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -59,6 +60,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-areas-by-project/{id}", + * tags={"用户端订单处理"}, * summary="V2-获取医院病区", * description="获取医院病区", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -81,6 +83,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-beds-by-area/{id}", + * tags={"用户端订单处理"}, * summary="V2-根据病区获取病床", * description="根据病区获取病床", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -105,6 +108,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-available-paramedics", + * tags={"用户端订单处理"}, * summary="V2-获取可用护工列表(已基本准确,需进一步打磨)", * description="获取可用护工列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -128,6 +132,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-patients", + * tags={"用户端订单处理"}, * summary="获取被护理人列表", * description="获取被护理人列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -147,6 +152,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/customer/create-patient", + * tags={"用户端订单处理"}, * summary="创建被护理人", * description="创建被护理人", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -175,6 +181,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-orders", + * tags={"用户端订单处理"}, * summary="V2-获取订单列表", * description="获取订单列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -236,6 +243,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-order/{id}", + * tags={"用户端订单处理"}, * summary="V2-获取订单详情", * description="获取订单详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -275,6 +283,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-project-paramedics/{project_id}", + * tags={"用户端订单处理"}, * summary="V2-获取护工列表", * description="获取护工列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -321,6 +330,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-paramedic/{id}", + * tags={"用户端订单处理"}, * summary="V2-获取护工详情", * description="获取护工详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -341,6 +351,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/customer/create-order", + * tags={"用户端订单处理"}, * summary="V2-创建订单", * description="创建订单", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -431,6 +442,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/customer/reserve-order/{id}", + * tags={"用户端订单处理"}, * summary="预约/取消预约护工", * description="预约/取消预约护工", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -478,6 +490,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/customer/cancel-order/{id}", + * tags={"用户端订单处理"}, * summary="V2-取消订单", * description="取消订单", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -519,6 +532,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-reservable-paramedics/{order_id}", + * tags={"用户端订单处理"}, * summary="获取可预约的护工", * description="获取可预约的护工", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -559,6 +573,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/recharge", + * tags={"用户端订单处理"}, * summary="V2-获取充值接口信息", * description="获取充值接口信息", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -626,6 +641,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/customer/get-balances", + * tags={"用户端订单处理"}, * summary="V2-获取资金流水信息", * description="获取资金流水信息", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Customer/PublicController.php b/app/Http/Controllers/Customer/PublicController.php index 79b36c4..3781cfe 100644 --- a/app/Http/Controllers/Customer/PublicController.php +++ b/app/Http/Controllers/Customer/PublicController.php @@ -13,6 +13,7 @@ class PublicController extends Controller /** * @OA\Get( * path="/customer/get-orders-count", + * tags={"用户端公共接口"}, * summary="V2-获取总服务单数", * description="获取总服务单数", * @OA\Response( @@ -30,6 +31,7 @@ class PublicController extends Controller /** * @OA\Get( * path="/customer/get-projects", + * tags={"用户端公共接口"}, * summary="V2-获取医院列表", * description="获取医院列表", * @OA\Response( @@ -48,6 +50,7 @@ class PublicController extends Controller /** * @OA\Get( * path="/customer/get-training-videos", + * tags={"用户端公共接口"}, * summary="V2-获取视频列表", * description="获取视频列表", * @OA\Parameter(name="keyword", in="query", @OA\Schema(type="string"), required=false, description="查询关键词"), @@ -83,6 +86,7 @@ class PublicController extends Controller /** * @OA\Get( * path="/customer/get-training-video/{id}", + * tags={"用户端公共接口"}, * summary="V2-获取单条视频数据", * description="获取单条视频数据", * @OA\Parameter(name="id", in="path", @OA\Schema(type="integer"), required=true, description="视频内容ID"), diff --git a/app/Http/Controllers/Manager/AuthController.php b/app/Http/Controllers/Manager/AuthController.php index f95a383..cb97ab9 100644 --- a/app/Http/Controllers/Manager/AuthController.php +++ b/app/Http/Controllers/Manager/AuthController.php @@ -53,6 +53,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/login", + * tags={"管理端用户相关"}, * summary="通过code或用户名和密码登录", * description="使用code换取openid进行登录,如果用户不存在则换username、password登录", * @OA\Parameter(name="code", in="query", @OA\Schema(type="string"), required=true, description="CODE"), @@ -95,6 +96,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/login-by-code", + * tags={"管理端用户相关"}, * summary="通过微信端获取的code进行登录", * description="", * @OA\Parameter(name="code", in="query", @OA\Schema(type="string"), required=true, description="code"), @@ -131,6 +133,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/login-by-username", + * tags={"管理端用户相关"}, * summary="V2-通过用户名密码登录", * description="", * @OA\Parameter(name="username", in="query", @OA\Schema(type="string"), required=true, description="用户名"), @@ -157,6 +160,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/me", + * tags={"管理端用户相关"}, * summary="V2-获取登录者信息", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), * description="", @@ -178,6 +182,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/update", + * tags={"管理端用户相关"}, * summary="V2-登录者个人信息修改", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), * @OA\Parameter(name="name", in="query", @OA\Schema(type="string"), required=false, description="姓名"), @@ -212,6 +217,7 @@ class AuthController extends Controller /** * @OA\Post( * path="/manager/logout", + * tags={"管理端用户相关"}, * summary="V2 退出登录", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), * description="", @@ -243,6 +249,7 @@ class AuthController extends Controller /** * @OA\Get( * path="/manager/check-token", + * tags={"管理端用户相关"}, * summary="V2-判断token是否有效", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), * description="", @@ -313,6 +320,7 @@ class AuthController extends Controller /** * @OA\Get( * path="/manager/get-notifications", + * tags={"管理端用户相关"}, * summary="V2-获取通知列表", * description="获取通知列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -356,6 +364,7 @@ class AuthController extends Controller /** * @OA\Get( * path="/manager/get-notification/{id}", + * tags={"管理端用户相关"}, * summary="V2-获取通知内容", * description="获取通知内容", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Manager/OrdersController.php b/app/Http/Controllers/Manager/OrdersController.php index 68515a7..68252f0 100644 --- a/app/Http/Controllers/Manager/OrdersController.php +++ b/app/Http/Controllers/Manager/OrdersController.php @@ -35,6 +35,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-projects", + * tags={"管理端订单处理"}, * summary="V2 获取医院列表", * description="获取医院列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -59,6 +60,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-care-product/{project_id}", + * tags={"管理端订单处理"}, * summary="V2-获取产品详情", * description="获取产品详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -96,6 +98,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-project-orders-count/{project_id}", + * tags={"管理端订单处理"}, * summary="V2-获取医院订单数量角标", * description="获取医院订单数量角标", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -121,6 +124,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-projcet-orders/{project_id}", + * tags={"管理端订单处理"}, * summary="V2-获取订单列表", * description="获取订单列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -177,6 +181,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-获取订单详情", * description="获取订单详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -221,6 +226,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-order-item/{id}", + * tags={"管理端订单处理"}, * summary="V2-获取子订单详情", * description="获取子订单详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -315,6 +321,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-project-areas/{project_id}", + * tags={"管理端订单处理"}, * summary="V2-获取医院病区", * description="获取医院病区", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -343,6 +350,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-area-beds/{area_id}", + * tags={"管理端订单处理"}, * summary="V2-根据病区获取病床", * description="根据病区获取病床", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -370,6 +378,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-available-paramedics", + * tags={"管理端订单处理"}, * summary="V2-获取可用护工列表(已基本准确,需进一步打磨)", * description="获取可用护工列表", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -393,6 +402,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/create-patient", + * tags={"管理端订单处理"}, * summary="V2-创建被护理人", * description="创建被护理人", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -421,6 +431,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/create-order", + * tags={"管理端订单处理"}, * summary="V2-创建订单", * description="创建订单", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -523,6 +534,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/update-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-订单修改(静态修改不影响当前所有子订单)", * description="订单修改", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -561,12 +573,13 @@ class OrdersController extends CommonController * ), * @OA\Property( * property="order.*", - * type="array", + * type="string", * description="订单实体" * ), * @OA\Property( * property="affected_orders", * type="array", + * @OA\Items(), * description="特别说明:影响到的订单,如果无此字段或数组为空表示未发生订单影响。影响到的订单实体数组,实体中的change字段(many_to_one或one_to_many)表示影响的方向" * ) * ) @@ -654,6 +667,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/update-order-items", + * tags={"管理端订单处理"}, * summary="V2-子订单修改(覆盖单条修改)", * description="子订单修改", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -797,6 +811,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/checkout-order-items/{order_id}", + * tags={"管理端订单处理"}, * summary="V2-中途结算(即只依次结算子订单,并不结束订单,只需余额刚好)", * description="交互流程如下:初次请求带上just_check参数,将返回to_recharge_total值;如果to_recharge_total大于0表示需要充值,充值完成之后,去除just_check参数再次提交;如果to_recharge_total <= 0,直接去除just_check参数再次提交", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -971,6 +986,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/checkout-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-订单结算", * description="交互流程如下:初次请求带上just_check参数,将返回to_recharge_total和to_refund_total值;仅在to_recharge_total和to_refund_total都为0的情况下才可以结算成功;如果to_recharge_total大于0表示需要充值,充值完成之后,剔除just_check参数再次提交;如果to_refund_total大于0表示需要退款,根据返回的退款方式操作后,剔除just_check参数再次提交", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1205,6 +1221,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/scan-pay/{order_id}", + * tags={"管理端订单处理"}, * summary="V2-扫用户支付码收款", * description="扫用户支付码收款", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1271,6 +1288,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/assign-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-派单", * description="派单", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1295,13 +1313,13 @@ class OrdersController extends CommonController * ), * @OA\Property( * property="order.*", - * type="array", + * type="string", * description="订单实体" * ), * @OA\Property( * property="affected_orders", * type="array", - * @OA\items(), + * @OA\Items(), * description="特别说明:影响到的订单,如果无此字段或数组为空表示未发生订单影响。影响到的订单实体数组,实体中的change字段(many_to_one或one_to_many)表示影响的方向" * ) * ) @@ -1342,6 +1360,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/cancel-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-取消订单", * description="取消订单", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1383,6 +1402,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/get-balance/{customer_id}", + * tags={"管理端订单处理"}, * summary="获取用户余额", * description="获取用户余额", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1410,6 +1430,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/recharge-for-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-现金或pos刷卡充值", * description="现金或pos刷卡充值", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1489,6 +1510,7 @@ class OrdersController extends CommonController /** * @OA\POST( * path="/manager/refund-for-order/{id}", + * tags={"管理端订单处理"}, * summary="V2-退款", * description="退款", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -1568,6 +1590,7 @@ class OrdersController extends CommonController /** * @OA\Get( * path="/manager/get-project-paramedic-levels/{project_id}", + * tags={"管理端订单处理"}, * summary="V2-获取医院护工等级", * description="获取医院护工等级", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Manager/ParamedicController.php b/app/Http/Controllers/Manager/ParamedicController.php index 62413ac..c802b14 100644 --- a/app/Http/Controllers/Manager/ParamedicController.php +++ b/app/Http/Controllers/Manager/ParamedicController.php @@ -12,6 +12,7 @@ class ParamedicController extends CommonController /** * @OA\POST( * path="/manager/create-paramedic", + * tags={"管理端护工管理"}, * summary="V2-新增护工", * description="", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -84,6 +85,7 @@ class ParamedicController extends CommonController /** * @OA\POST( * path="/manager/delete-paramedic/{id}", + * tags={"管理端护工管理"}, * summary="V2-护工离职(删除护工)", * description="", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -105,6 +107,7 @@ class ParamedicController extends CommonController /** * @OA\POST( * path="/manager/toggle-paramedic/{id}", + * tags={"管理端护工管理"}, * summary="V2-护工状态切换(正常与请假两个状态)", * description="", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -126,6 +129,7 @@ class ParamedicController extends CommonController /** * @OA\POST( * path="/manager/update-paramedic/{id}", + * tags={"管理端护工管理"}, * summary="V2-新增护工", * description="", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -169,6 +173,7 @@ class ParamedicController extends CommonController /** * @OA\Get( * path="/manager/get-project-paramedics/{project_id}", + * tags={"管理端护工管理"}, * summary="V2-获取医院护工", * description="获取医院护工", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -228,6 +233,7 @@ class ParamedicController extends CommonController /** * @OA\Get( * path="/manager/get-paramedic/{id}", + * tags={"管理端护工管理"}, * summary="V2-获取护工详情", * description="获取护工详情", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Manager/PublicController.php b/app/Http/Controllers/Manager/PublicController.php index 3b22802..8a80070 100644 --- a/app/Http/Controllers/Manager/PublicController.php +++ b/app/Http/Controllers/Manager/PublicController.php @@ -12,6 +12,7 @@ class PublicController extends CommonController /** * @OA\POST( * path="/manager/upload-image", + * tags={"管理端共用接口"}, * summary="V2-上传图片", * description="上传图片", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), @@ -104,6 +105,7 @@ class PublicController extends CommonController /** * @OA\Get( * path="/manager/get-attachment/{id}", + * tags={"管理端共用接口"}, * summary="V2-获取附件,进行展示或下载", * description="获取附件,进行展示或下载", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Manager/StatisticsController.php b/app/Http/Controllers/Manager/StatisticsController.php index 3731ed3..1de9814 100644 --- a/app/Http/Controllers/Manager/StatisticsController.php +++ b/app/Http/Controllers/Manager/StatisticsController.php @@ -18,6 +18,7 @@ class StatisticsController extends CommonController /** * @OA\Get( * path="/manager/statistics/overview", + * tags={"管理端数据统计"}, * summary="V2-获取项目首页总览数据统计", * description="获取项目首页总览数据统计", * @OA\Parameter(name="project_id", in="query", @OA\Schema(type="integer"), required=true, description="医院ID"), @@ -127,6 +128,7 @@ class StatisticsController extends CommonController /** * @OA\Get( * path="/manager/statistics/beds", + * tags={"管理端数据统计"}, * summary="V2-获取项目中的床位陪护一览", * description="获取项目中的床位陪护一览", * @OA\Parameter(name="project_id", in="query", @OA\Schema(type="integer"), required=true, description="医院ID"), @@ -176,6 +178,7 @@ class StatisticsController extends CommonController /** * @OA\Get( * path="/manager/statistics/by-duration", + * tags={"管理端数据统计"}, * summary="V2-获取时间段内的统计或指定明细", * description="获取时间段内的统计或指定明细", * @OA\Parameter(name="token", in="query", @OA\Schema(type="string"), required=true, description="token"), diff --git a/app/Http/Controllers/Manager/TrainingController.php b/app/Http/Controllers/Manager/TrainingController.php index 02e2ae5..faad0da 100644 --- a/app/Http/Controllers/Manager/TrainingController.php +++ b/app/Http/Controllers/Manager/TrainingController.php @@ -11,6 +11,7 @@ class TrainingController extends CommonController /** * @OA\Get( * path="/manager/get-videos", + * tags={"管理端视频展示"}, * summary="V2-获取视频列表", * description="获取视频列表", * @OA\Parameter(name="keyword", in="query", @OA\Schema(type="string"), required=false, description="查询关键词"), @@ -55,6 +56,7 @@ class TrainingController extends CommonController /** * @OA\Get( * path="/manager/get-video/{id}", + * tags={"管理端视频展示"}, * summary="V2-获取单条视频数据", * description="获取单条视频数据", * @OA\Parameter(name="id", in="path", @OA\Schema(type="integer"), required=true, description="视频内容ID"),