This commit is contained in:
Gordon
2021-10-28 19:50:36 +08:00
parent ad8bf93677
commit a9d85c3957
3 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ type paramsUserNewestSeq struct {
MsgIncr int `json:"msgIncr" binding:"required"`
}
func UserNewestSeq(c *gin.Context) {
func UserGetSeq(c *gin.Context) {
params := paramsUserNewestSeq{}
if err := c.BindJSON(&params); err != nil {
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})