摘要:
https://blog.csdn.net/weixin_46437112/article/details/127938352 阅读全文
摘要:
https://zhuanlan.zhihu.com/p/571190754 没解决其实 阅读全文
摘要:
@GetMapping("/{id}")public R<Employee> getById(@PathVariable Long id) { log.info("根据id查询员工信息。。。"); Employee employee = employeeService.getById(id); re 阅读全文
摘要:
@PutMappingpublic R<String> update(HttpServletRequest request, @RequestBody Employee employee) { log.info(employee.toString()); //获取当前登录用户id //Long em 阅读全文
摘要:
@GetMapping("/page")public R<Page> page(int page, int pageSize, String name) { log.info("page={},pageSize={},name={}", page, pageSize, name); //构造分页构造 阅读全文
摘要:
@PostMappingpublic R<String> save(HttpServletRequest request, @RequestBody Employee employee) { log.info("新增员工,员工信息:{}", employee.toString()); //初始密码1 阅读全文
摘要:
@PostMapping("/logout")public R<String> logout(HttpServletRequest request) { //1、清理Session中的用户id //2、返回结果 request.getSession().removeAttribute("employ 阅读全文
摘要:
@PostMapping("/login")public R<Employee> login(HttpServletRequest request, @RequestBody Employee employee) { //1、将页面提交的密码password进行md5加密处理 String pass 阅读全文
摘要:
注解: @Slf4j@RestController@RequestMapping("/employee")注入service: @Autowiredprivate EmployeeService employeeService; 阅读全文
摘要:
https://www.xitongcheng.com/jiaocheng/dnrj_article_73424.html 阅读全文