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

修改swagger

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