feat: add IM admin management

This commit is contained in:
richjohnrambo
2026-08-21 01:06:19 +08:00
parent 331a55751d
commit a2abaef3a6
290 changed files with 19917 additions and 337 deletions
+10 -1
View File
@@ -237,6 +237,9 @@ database:
link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
debug: true
Prefix: "hg_"
imRegistry:
link: "mysql:hotgo:hg123456.@tcp(127.0.0.1:3306)/hotgo?loc=Local&parseTime=true&charset=utf8mb4"
debug: true
# 链路追踪
@@ -300,4 +303,10 @@ hggen:
addon:
srcPath: "./resource/generate/default/addon" # 生成模板路径
webApiPath: "../web/src/api/addons/{$name}" # webApi生成路径
webViewsPath: "../web/src/views/addons/{$name}" # web页面生成路径
webViewsPath: "../web/src/views/addons/{$name}" # web页面生成路径
imAdminApi:
baseUrl: "http://127.0.0.1:6060"
serviceId: "hotgo-admin"
serviceSecret: "${IM_ADMIN_API_SECRET}"
timeout: "5s"
+15
View File
@@ -0,0 +1,15 @@
FROM alpine:3.20
WORKDIR /app
RUN apk add --no-cache ca-certificates tzdata
COPY temp/linux_arm64/hotgo /app/hotgo
COPY hack /app/hack
COPY manifest/config /app/manifest/config
COPY resource /app/resource
COPY storage /app/storage
EXPOSE 8000
CMD ["/app/hotgo"]