fix issue #I3QBZI

add swagger example value
This commit is contained in:
yubaolee
2021-05-08 12:05:51 +08:00
parent 2834a62fc7
commit a681549bd8
3 changed files with 15 additions and 6 deletions

View File

@@ -2,7 +2,15 @@
{
public class PageReq
{
/// <summary>
/// 页码
/// </summary>
/// <example>1</example>
public int page { get; set; }
/// <summary>
/// 每页条数
/// </summary>
/// <example>10</example>
public int limit { get; set; }
public string key { get; set; }

View File

@@ -12,6 +12,7 @@ namespace OpenAuth.App.SSO
/// <summary>
/// 应用的AppSecrect目前没判定可以随便填一个。如果需要判定请根据注释调整LoginParse.Do方法
/// </summary>
/// <example>openauth</example>
public string AppKey { get; set; }
public void Trim()