diff --git a/utils/basic/basic.go b/utils/basic/basic.go index 50c7575e..0c0bbf72 100644 --- a/utils/basic/basic.go +++ b/utils/basic/basic.go @@ -16,7 +16,7 @@ var ( CodeUpdateErr = &StatusResponse{5000, "update database error"} // update database logic 错误 CodeDupGuestErr = &StatusResponse{5001, "the user is already a guest user and does not need to apply again"} // 用户已经是guest用户不需要重复申请 错误 CodeRequestParamsErr = &StatusResponse{5002, "invalid request param"} // api参数校验 错误 - CodeDbRecordNotFoundErr = &StatusResponse{5002, "invalid request param"} + CodeDbRecordNotFoundErr = &StatusResponse{5003, "db record not found"} ) type Response struct {