Fix stupid ai errors

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 14:58:23 +08:00
parent 96d76b3657
commit 2f26b2ddb5
9 changed files with 32 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ func List(c *gin.Context) {
offset, ok := c.GetQuery("offset")
if !ok {
errorCode := new(exception.Builder).
SetStatus(exception.StatusClient).
SetStatus(exception.StatusUser).
SetService(exception.ServiceUser).
SetEndpoint(exception.EndpointUserServiceList).
SetType(exception.TypeCommon).
@@ -32,7 +32,7 @@ func List(c *gin.Context) {
limitNum, err := strconv.ParseInt(limit, 10, 64)
if err != nil {
errorCode := new(exception.Builder).
SetStatus(exception.StatusClient).
SetStatus(exception.StatusUser).
SetService(exception.ServiceUser).
SetEndpoint(exception.EndpointUserServiceList).
SetType(exception.TypeCommon).
@@ -45,7 +45,7 @@ func List(c *gin.Context) {
offsetNum, err := strconv.ParseInt(offset, 10, 64)
if err != nil {
errorCode := new(exception.Builder).
SetStatus(exception.StatusClient).
SetStatus(exception.StatusUser).
SetService(exception.ServiceUser).
SetEndpoint(exception.EndpointUserServiceList).
SetType(exception.TypeCommon).