package
0.0.0-20241203155450-2f254e5b2c5f
Repository: https://github.com/wfunc/go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
NewCaptchaH is http handler*
*
* @api {GET} /pub/captcha/new New Captcha
* @apiName NewCaptcha
* @apiGroup Captcha
*
* @apiSuccess (200) {Number} code the respnose code, see the common define,
* @apiSuccess (200) {String} captcha_id the captcha image id, to load image by /pub/captcha/${captcha_id}.png
*
*
* @apiParamExample {Query} Request-Example:
* email=xx
*
*
* @apiSuccessExample {JSON} Success-Response:
* {
* "code": 0,
* "data": "OK"
* }
* @apiSuccessExample {JSON} Frequently-Response:
* {
* "code": 1600,
* "after": 10000,
* }
*
*/.
VerifyCaptchaH is http handler*
*
* @api {GET} /pub/captcha/verify Verify Captcha
* @apiName VerifyCaptcha
* @apiGroup Captcha
*
* @apiParam {String} captcha_id the captcha id
* @apiParam {String} captcha_code the captcha code
*
* @apiSuccess (200) {Number} code the respnose code, see the common define,
*
*
* @apiParamExample {Query} Request-Example:
* captcha_id=xx&captcha_code=1234
*
*
* @apiSuccessExample {JSON} Success-Response:
* {
* "code": 0
* }
* @apiSuccessExample {JSON} Frequently-Response:
* {
* "code": 1600,
* "after": 10000,
* }
*
*/.
# Variables
No description provided by the author