fix: error code

This commit is contained in:
liwei committed 2023-03-05 15:37:04 +08:00
1 parent 4598e9b351
commit 20130ae6d0
1 file changed
+2 -2
+2 -2
View File
@@ -7,9 +7,9 @@ const (
// CodeError is the common error code
CodeError RespCode = 1000
// CodeUnauthorized is the error code for unauthorized
CodeUnauthorized RespCode = 1002
CodeUnauthorized RespCode = 1001
// CodeInvalidParam is the error code for invalid parameter
CodeInvalidParam RespCode = 1003
CodeInvalidParam RespCode = 1002
// CodeTaskNotFound is the error code for task not found
CodeTaskNotFound RespCode = 2001
)