Versions 版本管理
()
| 1195 | |
| 1196 | // Versions 版本管理 |
| 1197 | func (this *ManagerController) DeleteVersion() { |
| 1198 | id, _ := this.GetInt("id") |
| 1199 | if id > 0 { |
| 1200 | err := models.NewVersion().Delete(id) |
| 1201 | if err != nil { |
| 1202 | this.JsonResult(1, err.Error()) |
| 1203 | } |
| 1204 | } |
| 1205 | this.JsonResult(0, "删除成功") |
| 1206 | } |
| 1207 | |
| 1208 | // Versions 版本管理 |
| 1209 | func (this *ManagerController) UpdateVersion() { |
nothing calls this directly
no test coverage detected