Skip to content

Commit

Permalink
Update interface result state (IceWhaleTech#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong authored Mar 20, 2023
1 parent 717b47c commit a0dc582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/v1/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ func GetFileCount(c *gin.Context) {
c.JSON(common_err.SERVICE_ERROR, model.Result{Success: common_err.SERVICE_ERROR, Message: common_err.GetMsg(common_err.SERVICE_ERROR), Data: err.Error()})
return
}
c.JSON(common_err.SERVICE_ERROR, model.Result{Success: common_err.SERVICE_ERROR, Message: common_err.GetMsg(common_err.SERVICE_ERROR), Data: len(list)})
c.JSON(common_err.SUCCESS, model.Result{Success: common_err.SUCCESS, Message: common_err.GetMsg(common_err.SUCCESS), Data: len(list)})
}

type CenterHandler struct {
Expand Down

0 comments on commit a0dc582

Please sign in to comment.