mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-06 08:27:03 +08:00
support push choice
This commit is contained in:
@@ -31,3 +31,8 @@ func (p *pushRepository) DeletePushConfig(id int) error {
|
||||
Id: int64(id),
|
||||
}).Error
|
||||
}
|
||||
|
||||
func (p *pushRepository) GetPushConfigByIds(ids []int) (result []model.Push) {
|
||||
db.Model(&model.Push{}).Where("id in ?", ids).Find(&result)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user