Commit d63e8bc6 by 徐高华

login

parent 9b650543
......@@ -144,6 +144,11 @@ public class LoginController extends WebBaseController {
logger.info("登录商户={}",gicEnterpriseId);
String code = this.doLogin(wxEnterpriseId, gicEnterpriseId, loginPhoneNumber, "gic", response);
if (StringUtils.isNotBlank(code)) {
try {
response.sendRedirect("/haoban-3/#/gic-error?errorCode="+code);
} catch (IOException e) {
e.printStackTrace();
}
return this.fail(this.errMessage(code));
} else {
return this.success(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment