Commit c4014574 authored by chenweijian's avatar chenweijian

Merge remote-tracking branch 'origin/master' into feature/kzj

parents d02c433b 989d4dee
...@@ -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_send2" return "event_gift_send"
} }
// 偏移值 // 偏移值
......
...@@ -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)
......
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment