(c *gin.Context)
| 537 | } |
| 538 | |
| 539 | func DeleteDisabledChannel(c *gin.Context) { |
| 540 | rows, err := model.DeleteDisabledChannel() |
| 541 | if err != nil { |
| 542 | common.ApiError(c, err) |
| 543 | return |
| 544 | } |
| 545 | model.InitChannelCache() |
| 546 | c.JSON(http.StatusOK, gin.H{ |
| 547 | "success": true, |
| 548 | "message": "", |
| 549 | "data": rows, |
| 550 | }) |
| 551 | return |
| 552 | } |
| 553 | |
| 554 | type ChannelTag struct { |
| 555 | Tag string `json:"tag"` |
nothing calls this directly
no test coverage detected