新增问诊订单详情。修改错误码格式

This commit is contained in:
2023-09-06 14:30:54 +08:00
parent dc0217d191
commit 654c0fed05
23 changed files with 810 additions and 59 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func Recover() gin.HandlerFunc {
log.Printf("panic: %v\n", r)
debug.PrintStack()
c.JSON(http.StatusInternalServerError, gin.H{
"code": consts.SERVER_ERROR,
"code": consts.ServerError,
"message": errorToString(r),
"data": "",
})