()
| 1157 | } |
| 1158 | |
| 1159 | func (this *ManagerController) DeleteSubmitBook() { |
| 1160 | id, _ := this.GetInt("id") |
| 1161 | orm.NewOrm().QueryTable(models.NewSubmitBooks()).Filter("id", id).Delete() |
| 1162 | this.JsonResult(0, "删除成功") |
| 1163 | } |
| 1164 | |
| 1165 | func (this *ManagerController) UpdateSubmitBook() { |
| 1166 | field := this.GetString("field") |
nothing calls this directly
no test coverage detected