release: v1.9.0

This commit is contained in:
meilin.huang
2024-10-23 17:30:05 +08:00
parent 44a1bd626e
commit 2118acf244
26 changed files with 60 additions and 59 deletions

View File

@@ -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)