admincontroller
时间: 2023-09-13 20:04:18 浏览: 214
AdminController.class
根据提供的引用内容,adminController是一个控制器类,用于处理后台管理员相关的操作。它是在AdminController.java文件中定义的,并包含一个adminLogin方法,该方法用于处理管理员登录请求。在该方法中,首先通过前端传递的Admin类型数据调用adminMapper的selectFromAdminByAdminPhoneAndAdminPassword方法,然后将mapper接口的返回值返回给前端。该方法使用@RequestMapping注解来映射请求路径为"adminLogin",并使用@ResponseBody注解将方法的返回值作为响应体返回。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【停车场车辆管理系统】从零搭建——AdminController搭建](https://blog.csdn.net/weixin_43651049/article/details/124803875)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [03 SpringSecurity-认证与授权](https://blog.csdn.net/LookOutThe/article/details/122493891)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文