u
This commit is contained in:
1 parent
d9b2522552
commit
bac885cb28
7 files changed
+7027
-623
No files matched your search
@@ -51,7 +51,6 @@ func LoginDefault(ctx context.Context, c *app.RequestContext) {
|
||||
Where(userinfo.IDEQ(loginUser.ID)).
|
||||
Exec(ctx)
|
||||
|
||||
logx.CtxInfo(ctx, "测试测试")
|
||||
if err != nil {
|
||||
logx.CtxError(ctx, "更新用户登录时间失败,UserID=%d, err=%v", loginUser.ID, err)
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ type dbConfig struct {
|
||||
|
||||
// Db 默认值
|
||||
var Db = &dbConfig{
|
||||
Host: "117.72.182.135",
|
||||
Host: "127.0.0.1",
|
||||
Port: 5432,
|
||||
User: "postgres",
|
||||
Password: "zhang520..",
|
||||
|
||||
Reference in new issue
Block a user