测试接口时一直不同,地址没有问题但是一直不通,大老给看下什么情况呗
/**
* @OA\Post(
* path="/api/v1/web/login",
* summary="02 根据角色登录不同的平台,role可选:student,不填就是查询user表(权限:无)",
* description="",
* tags={"1User"},
* operationId="getWebToken",
* @OA\RequestBody(
* required=true,
* @OA\MediaType(
* mediaType="application/json",
* @OA\Schema(
* type="object",
* @OA\Property(
* property="params.ac",
* description="用户名",
* type="string"
* ),
* @OA\Property(
* property="params.se",
* description="密码",
* type="string"
* ),
* @OA\Property(
* property="params.role",
* description="角色",
* type="string"
* )
* ),
* example={
* "params" : {
* "ac": "admin",
* "se": "ibX1Hcxo",
* "role": ""
* }}
* )
* ),
* @OA\Response(
* response="200",
* description="返回token信息"
* )
* )
*/
你这个一直往下拉,中间部分会告诉你错误,根据错误去修改
是这一个吗 但是这个没写错啊