Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

同一张页面中有多个验证码,如何进行区分验证? #49

Open
HeroTianTYJ opened this issue Oct 30, 2019 · 0 comments
Open

Comments

@HeroTianTYJ
Copy link

HeroTianTYJ commented Oct 30, 2019

我控制器中写了两个生成验证码的方法:

public function captcha(){
	return Captcha::create(1);
}
public function captcha2(){
	return Captcha::create(2);
}

然后在同一张页面同时调用这两个验证码,分别对应两个输入框,请问如何使用Captcha::check()进行区分验证?tp6之前的验证码类库,check方法是可以传递id标识的呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant