Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Commits
c4014574
Commit
c4014574
authored
Apr 20, 2023
by
chenweijian
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into feature/kzj
parents
d02c433b
989d4dee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
send_gift.go
domain/model/event_m/send_gift.go
+1
-1
banner.go
domain/model/mgr_m/banner.go
+1
-1
group_info.go
route/group_r/group_info.go
+1
-1
No files found.
domain/model/event_m/send_gift.go
View file @
c4014574
...
@@ -19,7 +19,7 @@ type EventGiftSend struct {
...
@@ -19,7 +19,7 @@ type EventGiftSend struct {
}
}
func
(
EventGiftSend
)
TableName
()
string
{
func
(
EventGiftSend
)
TableName
()
string
{
return
"event_gift_send
2
"
return
"event_gift_send"
}
}
// 偏移值
// 偏移值
...
...
domain/model/mgr_m/banner.go
View file @
c4014574
...
@@ -103,7 +103,7 @@ func (rb *RoomBanner) GetRoomBanners(db *gorm.DB, vcAllow bool) ([]RoomBanner, e
...
@@ -103,7 +103,7 @@ func (rb *RoomBanner) GetRoomBanners(db *gorm.DB, vcAllow bool) ([]RoomBanner, e
}
}
res
:=
make
([]
RoomBanner
,
0
,
len
(
rows
))
res
:=
make
([]
RoomBanner
,
0
,
len
(
rows
))
for
_
,
v
:=
range
rows
{
for
_
,
v
:=
range
rows
{
if
!
vcAllow
&&
(
v
.
ID
==
241
||
v
.
ID
==
781
||
v
.
ID
==
771
)
{
if
!
vcAllow
&&
(
v
.
ID
==
241
||
v
.
ID
==
781
||
v
.
ID
==
771
||
v
.
ID
==
911
||
v
.
ID
==
841
||
v
.
ID
==
851
)
{
continue
continue
}
}
res
=
append
(
res
,
v
)
res
=
append
(
res
,
v
)
...
...
route/group_r/group_info.go
View file @
c4014574
...
@@ -811,7 +811,7 @@ func GroupBannerList(c *gin.Context) (*mycontext.MyContext, error) {
...
@@ -811,7 +811,7 @@ func GroupBannerList(c *gin.Context) (*mycontext.MyContext, error) {
model
.
Log
.
Infof
(
"CompareVersion appVersion:%v,auditVersion:%v,allow:%v,err:%v,skip top recharge"
,
appVersion
,
vc
.
AuditVersion
,
allow
,
err
)
model
.
Log
.
Infof
(
"CompareVersion appVersion:%v,auditVersion:%v,allow:%v,err:%v,skip top recharge"
,
appVersion
,
vc
.
AuditVersion
,
allow
,
err
)
continue
continue
}
}
if
!
allow
&&
(
v
.
ID
==
2301
||
v
.
ID
==
4711
||
v
.
ID
==
2321
||
v
.
ID
==
5341
||
v
.
ID
==
5331
)
{
if
!
allow
&&
(
v
.
ID
==
2301
||
v
.
ID
==
4711
||
v
.
ID
==
2321
||
v
.
ID
==
5341
||
v
.
ID
==
5331
||
v
.
ID
==
5631
||
v
.
ID
==
5471
||
v
.
ID
==
5461
)
{
model
.
Log
.
Infof
(
"CompareVersion appVersion:%v,auditVersion:%v,allow:%v,err:%v,skip top recharge"
,
appVersion
,
vc
.
AuditVersion
,
allow
,
err
)
model
.
Log
.
Infof
(
"CompareVersion appVersion:%v,auditVersion:%v,allow:%v,err:%v,skip top recharge"
,
appVersion
,
vc
.
AuditVersion
,
allow
,
err
)
continue
continue
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment