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

修改swagger

parent e5945203
...@@ -15,14 +15,16 @@ class RbacUserController extends BaseController ...@@ -15,14 +15,16 @@ class RbacUserController extends BaseController
* summary="后台登陆接口", * summary="后台登陆接口",
* description="后台登陆接口", * description="后台登陆接口",
* @OA\RequestBody( * @OA\RequestBody(
* @OA\MediaType( * required=true,
* mediaType="application/json", * @OA\MediaType(
* @OA\Schema( * mediaType="application/x-www-form-urlencoded",
* @OA\Property(property="CODE",type="string"), * @OA\Schema(
* @OA\Property(property="PASSWORD",type="string"), * type="object",
* example={"CODE": 1234567890, "PASSWORD": "123"} * @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") * @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