|
|
|
@ -305,10 +305,10 @@ public class UserInfoController { |
|
|
|
|
* 登陆查询学校/电子科大 |
|
|
|
|
*/ |
|
|
|
|
@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(); |
|
|
|
|
UserInfo userInfo = new UserInfo(); |
|
|
|
|
userInfo.setSchoolId(2105);//暂定学校id
|
|
|
|
|
userInfo.setSchoolId(schoolId);//暂定学校id
|
|
|
|
|
if (account == null || account=="") { |
|
|
|
|
resp.setStatus(300); |
|
|
|
|
resp.setErrmessage("用户账号为空,登录失败!"); |
|
|
|
|