Skip to content

Commit 4192d6c

Browse files
committed
修正badrequest条件
1 parent 6b8a9b0 commit 4192d6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

service/msap/msap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func sync(c *gin.Context) {
180180
}
181181
msgid, err := strconv.ParseInt(lastMsgIDStr, 10, 64)
182182

183-
if err != nil || msgid < 0 {
183+
if err != nil || msgid < -1 {
184184
jsonData, _ := json.Marshal(gin.H{
185185
"result": gin.H{
186186
"code": errorcode.ProxyBadRequest,

0 commit comments

Comments
 (0)