Skip to content

Commit b85177e

Browse files
author
Jason
committed
Merge branch 'dev'
2 parents 3f9b969 + 7f32fb7 commit b85177e

6 files changed

Lines changed: 5 additions & 9 deletions

File tree

app/app/user/service/dto/user.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ type UserQueryReq struct {
1111
dto.Pagination `search:"-"`
1212
BeginCreatedAt string `form:"beginCreatedAt" search:"type:gte;column:created_at;table:app_user" comment:"创建时间"`
1313
EndCreatedAt string `form:"endCreatedAt" search:"type:lte;column:created_at;table:app_user" comment:"创建时间"`
14-
Id int64 `form:"id" search:"type:exact;column:id;table:app_user" comment:"用户编号"`
1514
LevelId int64 `form:"levelId" search:"type:exact;column:level_id;table:app_user" comment:"用户等级编号"`
1615
LevelIds []int64 `form:"levelId" search:"type:exact;column:level_id;table:app_user" comment:"用户等级编号"`
1716
UserName string `form:"userName" search:"type:exact;column:user_name;table:app_user" comment:"用户昵称"`

app/app/user/service/dto/user_account_log.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99

1010
type UserAccountLogQueryReq struct {
1111
dto.Pagination `search:"-"`
12-
UserId int64 `form:"userId" search:"type:exact;column:user_id;table:app_user_account_log" comment:"用户编号"`
1312
MoneyType string `form:"moneyType" search:"type:exact;column:money_type;table:app_user_account_log" comment:"金额类型 1:余额 "`
1413
ChangeType string `form:"changeType" search:"type:exact;column:change_type;table:app_user_account_log" comment:"帐变类型(1-类型1)"`
1514
BeginCreatedAt string `form:"beginCreatedAt" search:"type:gte;column:created_at;table:app_user_account_log" comment:"创建时间"`

app/app/user/service/dto/user_conf.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88

99
type UserConfQueryReq struct {
1010
dto.Pagination `search:"-"`
11-
UserId int64 `form:"userId" search:"type:exact;column:user_id;table:app_user_conf" comment:"用户编号"`
1211
CanLogin string `form:"canLogin" search:"type:exact;column:can_login;table:app_user_conf" comment:"1-允许登陆;2-不允许登陆"`
1312
BeginCreatedAt string `form:"beginCreatedAt" search:"type:gte;column:created_at;table:app_user_conf" comment:"创建时间"`
1413
EndCreatedAt string `form:"endCreatedAt" search:"type:lte;column:created_at;table:app_user_conf" comment:"创建时间"`

app/app/user/service/dto/user_oper_log.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ type UserOperLogQueryReq struct {
1010
dto.Pagination `search:"-"`
1111
ActionType string `form:"actionType" search:"type:exact;column:action_type;table:app_user_oper_log" comment:"用户行为类型"`
1212
ByType string `form:"byType" search:"type:exact;column:by_type;table:app_user_oper_log" comment:"更新用户类型 1-app用户 2-后台用户"`
13-
UserId int64 `form:"userId" search:"type:exact;column:user_id;table:app_user_oper_log" comment:"用户编号"`
1413
BeginCreatedAt string `form:"beginCreatedAt" search:"type:gte;column:created_at;table:app_user_oper_log" comment:"创建时间"`
1514
EndCreatedAt string `form:"endCreatedAt" search:"type:lte;column:created_at;table:app_user_oper_log" comment:"创建时间"`
1615
ShowInfo bool `form:"-" search:"-" comment:"是否明文显示加密信息"`

app/app/user/service/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (e *User) GetPage(c *dto.UserQueryReq, p *middleware.DataPermission) ([]mod
5959
if err != nil {
6060
return nil, 0, respCode, err
6161
}
62-
c.ParentId = m.ParentId
62+
c.ParentId = m.Id
6363
}
6464

6565
err := e.Orm.Preload("UserLevel").Order("created_at desc").Model(&data).

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ require (
2222
github.com/openzipkin/zipkin-go v0.4.3
2323
github.com/prometheus/client_golang v1.23.0
2424
github.com/redis/go-redis/v9 v9.12.1
25-
github.com/shirou/gopsutil/v4 v4.25.7
25+
github.com/shirou/gopsutil/v4 v4.25.8
2626
github.com/shopspring/decimal v1.4.0
2727
github.com/spf13/cast v1.9.2
28-
github.com/spf13/cobra v1.9.1
28+
github.com/spf13/cobra v1.10.1
2929
github.com/stretchr/testify v1.11.1
3030
github.com/xuri/excelize/v2 v2.9.1
3131
golang.org/x/crypto v0.41.0
@@ -83,15 +83,15 @@ require (
8383
github.com/nyaruka/phonenumbers v1.0.55 // indirect
8484
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
8585
github.com/pmezard/go-difflib v1.0.0 // indirect
86-
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
86+
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
8787
github.com/prometheus/client_model v0.6.2 // indirect
8888
github.com/prometheus/common v0.65.0 // indirect
8989
github.com/prometheus/procfs v0.16.1 // indirect
9090
github.com/richardlehane/mscfb v1.0.4 // indirect
9191
github.com/richardlehane/msoleps v1.0.4 // indirect
9292
github.com/rogpeppe/go-internal v1.11.0 // indirect
9393
github.com/sirupsen/logrus v1.9.3 // indirect
94-
github.com/spf13/pflag v1.0.6 // indirect
94+
github.com/spf13/pflag v1.0.9 // indirect
9595
github.com/tiendc/go-deepcopy v1.6.1 // indirect
9696
github.com/tklauser/go-sysconf v0.3.15 // indirect
9797
github.com/tklauser/numcpus v0.10.0 // indirect

0 commit comments

Comments
 (0)