- Added Oauth2LogLoginService for managing user authorization logs. - Implemented methods for inserting logs, cleaning logs, and exporting log data. - Created a new file for Oauth2 login log service. refactor: Remove unused open_api module - Deleted the open_api.go file as it was not utilized in the project. fix: Update error codes in SysProfileController - Changed error codes for binding errors and user authentication errors to more descriptive values. fix: Update cache handling in SysConfig and SysDictType services - Modified Redis set operations to include expiration time for cached values. refactor: Update middleware authorization checks - Replaced PreAuthorize middleware with AuthorizeUser across multiple routes in system and tool modules for consistency. chore: Clean up trace and ws modules - Updated middleware authorization in trace and ws modules to use AuthorizeUser.
build
打包添加到构建工具的 /tmp/usr/local/etc/omc 目录内
文件资源
| 路径 | 说明 |
|---|---|
| database | 数据库 |
| default | 默认配置文件 |
| vendor | 各厂商的定制修改 |
编译发布
# =================== Vendor Database
echo
ApiDir=/root/omc.git/be.ems
BuildDir=/root/omc.git/build.ems
dirs="database default vendor"
for v in ${dirs}; do
path=$BuildDir/tmp/usr/local/etc/omc
rm -rf ${path}/${v}
cp -rf ${ApiDir}/build/${v} ${path}/${v}
done