Commit 9a45cb86 authored by 郭勇志's avatar 郭勇志

修改swagger

parent e5945203
......@@ -15,14 +15,16 @@ class RbacUserController extends BaseController
* summary="后台登陆接口",
* description="后台登陆接口",
* @OA\RequestBody(
* @OA\MediaType(
* mediaType="application/json",
* @OA\Schema(
* @OA\Property(property="CODE",type="string"),
* @OA\Property(property="PASSWORD",type="string"),
* example={"CODE": 1234567890, "PASSWORD": "123"}
* )
* )
* required=true,
* @OA\MediaType(
* mediaType="application/x-www-form-urlencoded",
* @OA\Schema(
* type="object",
* @OA\Property(property="CODE",description="用户CODE",type="string"),
* @OA\Property(property="PASSWORD",description="密码",type="string"),
* example={"CODE": "1234567890", "PASSWORD": "123"}
* )
* )
* ),
* @OA\Response(response=200,description="成功时返回access-token")
* )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment