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:
SunYF
2026-08-27 10:56:41 +08:00
parent 380715f8a9
commit 371b494c54
523 changed files with 67923 additions and 24758 deletions
@@ -4,6 +4,7 @@ import (
"context"
"fmt"
"github.com/jinzhu/copier"
"bj_power_mes/common/errorx"
xhttp "bj_power_mes/common/httpx"
"bj_power_mes/ent"
@@ -11,8 +12,6 @@ import (
"bj_power_mes/internal/svc"
"bj_power_mes/internal/types"
"github.com/jinzhu/copier"
"github.com/zeromicro/go-zero/core/logx"
)
@@ -43,9 +42,7 @@ func (l *UserinfoLogic) Userinfo() (resp *types.UserInfoReply, err error) {
}
resp = new(types.UserInfoReply)
if err := copier.Copy(resp, u); err != nil {
l.Errorf("用户信息拷贝失败: %v", err)
}
_ = copier.Copy(resp, u)
resp.CreatedAt = u.CreatedAt.Unix()