切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
024e6eddb94cac1a5b7c9f69791e0d90ccbc42a7
1 个父辈
f064ae23
sql 更新
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
9 行增加
和
10 行删除
pkg/port/beego/routers/logger.go
sql/2023-03-15.sql
pkg/port/beego/routers/logger.go
查看文件 @
024e6ed
...
...
@@ -2,8 +2,6 @@ package routers
import
(
"github.com/beego/beego/v2/server/web"
"github.com/beego/beego/v2/server/web/context"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/infrastructure/redis"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/port/beego/controllers"
)
...
...
@@ -11,8 +9,8 @@ func init() {
//日志输出
web
.
Router
(
"/log"
,
&
controllers
.
LoggerController
{},
"Get:Output"
)
//
web
.
Get
(
"/test1"
,
func
(
ctx
*
context
.
Context
)
{
s
:=
redis
.
RunDemoScript
()
ctx
.
WriteString
(
s
)
})
// web.Get("/test1", func(ctx *context.Context) {
// s := redis.RunDemoScript()
// ctx.WriteString(s)
// })
}
...
...
sql/2023-03-15.sql
查看文件 @
024e6ed
...
...
@@ -91,10 +91,11 @@ SET
summary_state
=
1
WHERE
end_time
<=
now
()
AND
deleted_at
ISNULL
-- 变更user表字段
ALTER
TABLE
"public"
.
"user"
ADD
COLUMN
"parent_id"
int8
DEFAULT
0
;
AND
deleted_at
ISNULL
;
-- 变更user表字段
ALTER
TABLE
"public"
.
"user"
ADD
COLUMN
"parent_id"
int8
DEFAULT
0
;
COMMENT
ON
COLUMN
"public"
.
"user"
.
"parent_id"
IS
'上级ID'
;
...
...
请
注册
或
登录
后发表评论