ajax 后台正常执行 controller 错误类型却是404

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/huang_sheng0527/article/details/78469560

检查下edit.do没有设置Response输出对象


@PutMapping(value = "/reg", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
@ResponseBody
public ResultData reg(@RequestBody Map map, HttpServletRequest request) throws Exception {
    return Service.userinfoReg(map,request);
}

猜你喜欢

转载自blog.csdn.net/huang_sheng0527/article/details/78469560