Skip to content

Commit 801049d

Browse files
committedAug 12, 2023
Update README
1 parent 09ca3ed commit 801049d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,9 @@ Content-Type: application/json
314314
}
315315
```
316316

317-
## 预约记录搜索接口
317+
## 用户预约记录列表接口
318318

319-
接口地址:/searchrecord
319+
接口地址:/listrecord
320320

321321
请求方法:POST
322322

@@ -325,7 +325,7 @@ Content-Type: application/json
325325

326326
请求示例:
327327
```
328-
POST /searchrecord
328+
POST /listrecord
329329
Content-Type: application/json
330330
331331
{

‎main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@ func main() {
305305
c.JSON(200, gin.H{"code": 0, "message": "预约成功", "data": record})
306306
})
307307

308-
// 预约记录搜索接口
309-
r.POST("/searchrecord", func(c *gin.Context) {
308+
// 用户预约记录列表接口
309+
r.POST("/listrecord", func(c *gin.Context) {
310310
var request struct {
311311
Token string `json:"token"`
312312
}

0 commit comments

Comments
 (0)