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.
 
 
 

16 lines
336 B

package http
import (
v12 "go-common/app/service/live/xcaptcha/api/grpc/v1"
"go-common/library/net/http/blademaster"
)
// captchaVerify
func captchaVerify(ctx *blademaster.Context) {
req := new(v12.XVerifyReq)
if err := ctx.Bind(req); err != nil {
return
}
resp, err := xCaptchaService.Verify(ctx, req)
ctx.JSON(resp, err)
}