上传代码

master
zhiyong.ning 4 years ago
parent 9d5b71e352
commit f90841de50
  1. 4
      src/main/java/com/yipin/liuwanr/controller/UserInfoController.java

@ -305,10 +305,10 @@ public class UserInfoController {
* 登陆查询学校/电子科大 * 登陆查询学校/电子科大
*/ */
@GetMapping("/loginSchoolClient") @GetMapping("/loginSchoolClient")
Response loginSchoolClient(@RequestParam("account") String account, @RequestParam("password") String password , HttpServletRequest req, HttpServletResponse res) { Response loginSchoolClient(@RequestParam("account") String account, @RequestParam("password") String password, @RequestParam("schoolId") Integer schoolId , HttpServletRequest req, HttpServletResponse res) {
Response resp = new Response(); Response resp = new Response();
UserInfo userInfo = new UserInfo(); UserInfo userInfo = new UserInfo();
userInfo.setSchoolId(2105);//暂定学校id userInfo.setSchoolId(schoolId);//暂定学校id
if (account == null || account=="") { if (account == null || account=="") {
resp.setStatus(300); resp.setStatus(300);
resp.setErrmessage("用户账号为空,登录失败!"); resp.setErrmessage("用户账号为空,登录失败!");

Loading…
Cancel
Save