()
| 667 | } |
| 668 | |
| 669 | func (this *ManagerController) ClearComments() { |
| 670 | uid, _ := this.GetInt("uid") |
| 671 | if uid > 0 { |
| 672 | models.NewComments().ClearComments(uid) |
| 673 | } |
| 674 | this.JsonResult(0, "清除成功") |
| 675 | } |
| 676 | |
| 677 | func (this *ManagerController) DeleteComment() { |
| 678 | id, _ := this.GetInt("id") |
nothing calls this directly
no test coverage detected