| | |
| | | } |
| | | } |
| | | |
| | | // @Summary 统计实时和轮询的运行路数情况 |
| | | // @Description 统计实时和轮询的运行路数情况 |
| | | // @Produce json |
| | | // @Tags camera |
| | | // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" |
| | | // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" |
| | | // @Router /data/api-v/camera/statisticRunInfo [get] |
| | | func (cc CameraController) StatisticRunInfo(c *gin.Context) { |
| | | var api dbapi.CameraApi |
| | | b, d := api.StatisticRunInfo() |
| | | if b { |
| | | util.ResponseFormat(c,code.Success,d) |
| | | } else { |
| | | util.ResponseFormat(c,code.ComError,"") |
| | | } |
| | | } |
| | | |
| | | |