()
| 675 | } |
| 676 | |
| 677 | func (this *ManagerController) DeleteComment() { |
| 678 | id, _ := this.GetInt("id") |
| 679 | if id > 0 { |
| 680 | models.NewComments().DeleteComment(id) |
| 681 | } |
| 682 | this.JsonResult(0, "删除成功") |
| 683 | } |
| 684 | |
| 685 | func (this *ManagerController) SetCommentStatus() { |
| 686 | id, _ := this.GetInt("id") |
nothing calls this directly
no test coverage detected