| | |
| | | } |
| | | |
| | | @PostMapping("/updateInfo") |
| | | public R updateInfo(String id, String handleP, String handName, String handletype, String type, HttpServletResponse response) { |
| | | response.setHeader("Access-Control-Allow-Origin", "*"); |
| | | response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE"); |
| | | response.setHeader("Access-Control-Allow-Credentials","true"); |
| | | public R updateInfo(String id, String handleP, String handName, String handletype, String type) { |
| | | jingdanService.updateInfo(id, handleP, handName,handletype,type); |
| | | return R.success("修改成功"); |
| | | } |