mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-01-03 21:26:35 +08:00
release: v1.9.0
This commit is contained in:
@@ -102,7 +102,7 @@ func (rc *Ctx) GetLogInfo() *LogInfo {
|
||||
func (rc *Ctx) res() {
|
||||
if err := rc.Error; err != nil {
|
||||
switch t := err.(type) {
|
||||
case errorx.BizError:
|
||||
case *errorx.BizError:
|
||||
rc.JSONRes(http.StatusOK, model.Error(t))
|
||||
default:
|
||||
logx.ErrorTrace("服务器错误", t)
|
||||
|
||||
Reference in New Issue
Block a user