You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
454 B

package http
import (
"go-common/app/admin/main/videoup/model/archive"
"go-common/library/ecode"
bm "go-common/library/net/http/blademaster"
)
//查询某个资源所命中的所有流量套餐
func hitFlows(c *bm.Context) {
pm := new(struct {
OID int64 `form:"aid" validate:"required"`
})
if err := c.Bind(pm); err != nil {
c.JSON(nil, ecode.RequestErr)
return
}
c.JSON(vdaSvc.HitFlowGroups(c, pm.OID, []int8{archive.PoolArcForbid}))
}