mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
feat: 证书支持同时部署多个网站
This commit is contained in:
@@ -81,7 +81,7 @@ func (r *sshRepo) Update(req *request.SSHUpdate) error {
|
||||
Remark: req.Remark,
|
||||
}
|
||||
|
||||
return app.Orm.Model(ssh).Updates(ssh).Error
|
||||
return app.Orm.Model(ssh).Where("id = ?", req.ID).Select("*").Updates(ssh).Error
|
||||
}
|
||||
|
||||
func (r *sshRepo) Delete(id uint) error {
|
||||
|
||||
Reference in New Issue
Block a user