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.
 
 
 

24 lines
517 B

package http
import (
"go-common/app/service/openplatform/anti-fraud/api/grpc/v1"
bm "go-common/library/net/http/blademaster"
)
//graphPrepare 拉起图形验证
func graphPrepare(c *bm.Context) {
params := new(v1.GraphPrepareRequest)
if err := c.Bind(params); err != nil {
return
}
c.JSON(svc.GraphPrepare(c, params))
}
//graphCheck 图形验证
func graphCheck(c *bm.Context) {
params := new(v1.GraphCheckRequest)
if err := c.Bind(params); err != nil {
return
}
c.JSON(svc.GraphCheck(c, params))
}