f
This commit is contained in:
@@ -49,6 +49,11 @@ type EncryptedSceneIdReq struct {
|
||||
// @Failure 500 {object} map[string]interface{} "服务器内部错误"
|
||||
// @Router /api/v1/captcha/encryptedSceneId [post]
|
||||
func (h *CaptchaHandler) GetEncryptedSceneId(c *gin.Context) {
|
||||
if !h.config.SMS.CaptchaEnabled {
|
||||
h.response.BadRequest(c, "滑块验证码未启用")
|
||||
return
|
||||
}
|
||||
|
||||
expireSec := 3600
|
||||
if c.Request.ContentLength > 0 {
|
||||
var req EncryptedSceneIdReq
|
||||
|
||||
Reference in New Issue
Block a user