删除友链
()
| 1056 | |
| 1057 | // 删除友链 |
| 1058 | func (this *ManagerController) DelFriendlink() { |
| 1059 | id, _ := this.GetInt("id") |
| 1060 | if err := new(models.FriendLink).Del(id); err != nil { |
| 1061 | this.JsonResult(1, "删除失败:"+err.Error()) |
| 1062 | } |
| 1063 | this.JsonResult(0, "删除成功") |
| 1064 | } |
| 1065 | |
| 1066 | // 重建全量索引 |
| 1067 | func (this *ManagerController) RebuildAllIndex() { |
nothing calls this directly
no test coverage detected