fix: 解决数据初始化的问题 (#168)

This commit is contained in:
二丫讲梵 2023-03-10 17:51:39 +08:00 committed by GitHub
parent 499a7133c9
commit e6f8eca7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -31,7 +31,7 @@ COPY --from=builder /app/ .
RUN apk upgrade \ RUN apk upgrade \
&& apk add bash tzdata \ && apk add bash tzdata sqlite vim \
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \ && ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
&& echo ${TZ} > /etc/timezone && echo ${TZ} > /etc/timezone

View File

@ -284,6 +284,13 @@ func InitData() {
Remark: "刷新JWT令牌", Remark: "刷新JWT令牌",
Creator: "系统", Creator: "系统",
}, },
{
Method: "POST",
Path: "/base/sendcode",
Category: "base",
Remark: "给用户邮箱发送验证码",
Creator: "系统",
},
{ {
Method: "POST", Method: "POST",
Path: "/base/changePwd", Path: "/base/changePwd",
@ -529,13 +536,6 @@ func InitData() {
Remark: "批量删除角色", Remark: "批量删除角色",
Creator: "系统", Creator: "系统",
}, },
{
Method: "GET",
Path: "/menu/list",
Category: "menu",
Remark: "获取菜单列表",
Creator: "系统",
},
{ {
Method: "GET", Method: "GET",
Path: "/menu/tree", Path: "/menu/tree",
@ -671,6 +671,7 @@ func InitData() {
"/base/login", "/base/login",
"/base/logout", "/base/logout",
"/base/refreshToken", "/base/refreshToken",
"/base/sendcode",
"/base/changePwd", "/base/changePwd",
"/base/dashboard", "/base/dashboard",
"/user/info", "/user/info",