js提交表单后端接口执行完报404路径错误,且js回调函数不执行

@RequestMapping("apply")

public ReturnMessage apply(Approval approval){

this.approvalService.apply(new HashMap<String,Object>(),approval);

return this.ok();

}

@Override

@Transactional

@WFRun(WFKey = Approval.PROCESS_DEF_KEY, ActionType = ActionType.Start)

public void apply(Map<String, Object> map, Approval approval) {

Date now = new Date();

LoginUser loginUser = this.getLoginUser();

String id = loginUser.getId().toString();

String username = loginUser.getUsername();

approval.setCreatedTime(now);

approval.setUpdatedTime(now);

approval.setCreatedUserId(id);

approval.setCreatedUserName(username);

approval.setUpdatedUserId(id);

approval.setUpdatedUserName(username);

this.getBaseMapper().insert(approval);

}

$.demo.approval.edit.success = function(){

//关闭窗口,刷新请假清单

debugger

$('#' + $.demo.approval.editWinId).dialog('close');

$('#' + $.demo.approval.gridId).trigger('reloadGrid');

};

以上是 js提交表单后端接口执行完报404路径错误,且js回调函数不执行 的全部内容, 来源链接: utcz.com/p/944538.html

回到顶部