Browse Source

test

tags/v1.1.8
huangjiajun 1 year ago
parent
commit
cd1091f53a
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      db/db_day_luck_draw_setting.go

+ 1
- 4
db/db_day_luck_draw_setting.go View File

@@ -14,10 +14,7 @@ func GetDayLuckDrawSetting(eg *xorm.Engine) *model.DayLuckDrawSetting {
return nil return nil
} }
if get == false { if get == false {
one, err := eg.InsertOne(&data)
if one == 0 || err != nil {
return nil
}
return nil
} }
return &data return &data
} }


Loading…
Cancel
Save