gxthrj commented on a change in pull request #251:
URL: 
https://github.com/apache/incubator-apisix-dashboard/pull/251#discussion_r438608270



##########
File path: api/errno/error.go
##########
@@ -0,0 +1,84 @@
+package errno
+
+import (
+       "encoding/json"
+       "fmt"
+)
+
+type Message struct {
+       Code string
+       Msg  string
+}
+
+var (
+       //AA 01 表示api-manager-api
+       //BB 00 系统b部信息
+       SystemSuccess   = Message{"010000", "success"}
+       SystemError     = Message{"010001", "system error"}
+       BadRequestError = Message{Code: "010002", Msg: "请求格式错误"}
+       NotFoundError   = Message{Code: "010003", Msg: "没有找到资源"}
+
+       //BB 01表示配置信息

Review comment:
       done




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to