fix: rebuild MES as compilable go-zero+ent backend (renamed bj_power_mes), restore 3 workstation projects from pristine original, align naming; all Go projects go build clean
This commit is contained in:
@@ -72,8 +72,6 @@ func ErrorCtx(ctx context.Context, err error) (int, any) {
|
||||
return 200, body
|
||||
}
|
||||
|
||||
// 未识别的普通错误(å¦?EventLoop 返回的业务错误):Msg 直接é€�å‡ºçœŸå®žåŽŸå› ï¼?
|
||||
// é�¿å…�å‰�端å�ªçœ‹åˆ°ç¬¼ç»Ÿçš„"æœ�务器开å°�å·®"è€Œæ— æ³•å®šä½�é—®é¢?
|
||||
body := Body{Code: errorx.CommonErrCode, Msg: err.Error()}
|
||||
body := Body{Code: errorx.CommonErrCode, Msg: errorx.MapErrMsg(errorx.CommonErrCode), Detail: err.Error()}
|
||||
return 200, body
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user