|
|
@ -36,6 +36,7 @@ public class LoginPersonController extends Controller {
|
|
|
|
* @param captcha 验证码
|
|
|
|
* @param captcha 验证码
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Before({POST.class})
|
|
|
|
@Before({POST.class})
|
|
|
|
|
|
|
|
@EmptyInterface({"username", "password", "captcha"})
|
|
|
|
public void doLogin(String username, String password, String captcha) {
|
|
|
|
public void doLogin(String username, String password, String captcha) {
|
|
|
|
JSONObject resultJson = new JSONObject();
|
|
|
|
JSONObject resultJson = new JSONObject();
|
|
|
|
if (StrKit.isBlank(captcha)) {
|
|
|
|
if (StrKit.isBlank(captcha)) {
|
|
|
|