| | |
| | | oAuth2Authentication.setAuthenticated(true); |
| | | ResponseUtil.responseSucceed(objectMapper, response, oAuth2AccessToken); |
| | | } catch (BadCredentialsException | InternalAuthenticationServiceException e) { |
| | | e.printStackTrace();//添加日志的打印功能 |
| | | exceptionHandler(response, badCredenbtialsMsg); |
| | | } catch (Exception e) { |
| | | exceptionHandler(response, e); |
| | |
| | | |
| | | // 表单提交事件 |
| | | form.on('submit(user-form-submit)', function (data) { |
| | | debugger |
| | | data.field.hospitalId = $("#hospitalId").val(); |
| | | if (data.field.roleId != null && data.field.roleId != "") { |
| | | data.field.roles = data.field.roleId.split(','); |