Skip to content

Commit 63ea550

Browse files
committed
update readme
1 parent 732c506 commit 63ea550

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

‎README.md‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@ X-SpringBoot
7070
<h3>统一接口请求和返回工具类 <a href="https://github.com/yzcheng90/X-SpringBoot/blob/master/src/main/java/com/suke/czx/common/utils/AppBaseResult.java">AppBaseResult.java</a></h3>
7171
<br>
7272
<h3>数据返回加解密工具类 <a href="https://github.com/yzcheng90/X-SpringBoot/blob/master/src/main/java/com/suke/czx/common/utils/CDESCrypt.java">CDESCrypt.java</a></h3>
73-
<br>
74-
<h3>接口controller类示例</h3>
75-
```
73+
74+
---
75+
> __ 接口controller类示例 __
76+
>
77+
```javascript
78+
7679
@ApiOperation(value="列表", notes="列表") //swagger2的接口显示
7780
@ApiImplicitParams({@ApiImplicitParam(name = "token", value = "token", required = true,dataType = "string", paramType = "query", defaultValue = "")})
7881
@PostMapping("/appUpdate/list")
@@ -87,12 +90,12 @@ X-SpringBoot
8790
return AppBaseResult.success().setEncryptData(pageUtil); //数据加密返回
8891
}
8992

90-
```
91-
9293

93-
<br>
94-
<h3>接口数据『未加密』返回</h3>
9594
```
95+
---
96+
> __ 接口数据『未加密』返回 __
97+
>
98+
```javascript
9699

97100
{
98101
"code": 200,
@@ -103,10 +106,10 @@ X-SpringBoot
103106
}
104107

105108
```
106-
107-
<br>
108-
<h3>接口数据『加密』返回</h3>
109-
```
109+
---
110+
> __ 接口数据『加密』返回 __
111+
>
112+
```javascript
110113

111114
{
112115
"code": 200,

0 commit comments

Comments
 (0)