Skip to content

Commit

Permalink
6.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
simplewindorg committed Aug 2, 2023
1 parent d753f0e commit b81f7ae
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ ThinkCMF核心API扩展
===============

## 更新日志
### v6.0.8
* 增加 swagger LoginRequest

### v6.0.7
* 完善`swagger`注释
* 增加清除缓存接口

### v6.0.6
* 修复跨域问题

Expand Down
42 changes: 42 additions & 0 deletions src/swagger/request/LoginRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php

namespace api\swagger\request;

use OpenApi\Annotations as OA;

/**
* @OA\Schema()
*/
class LoginRequest
{

/**
* @OA\Property(
* type="string",
* example="user",
* description="手机号,邮箱,账户"
* )
*/
public $username;

/**
* @OA\Property(
* type="string",
* example="000000",
* description="密码"
* )
* @var string
*/
public $password;

/**
* @OA\Property(
* type="string",
* example="web",
* description="设备类型:mobile,android,iphone,ipad,web,pc,mac,wxapp,ios"
* )
* @var object
*/
public $device_type;

}

0 comments on commit b81f7ae

Please sign in to comment.