不能直接通过categoryService.add(bean);来注入对象,因为PUT方式诸如不了,如果需要取参数,只能通过getParameter("name")函数。
关于PutMapping映射的问题
最新推荐文章于 2024-05-29 11:15:06 发布
不能直接通过categoryService.add(bean);来注入对象,因为PUT方式诸如不了,如果需要取参数,只能通过getParameter("name")函数。