|
@@ -36,7 +36,7 @@ public class UserAuthRestController {
|
|
@Autowired
|
|
@Autowired
|
|
private BaseInfoService baseInfoService;
|
|
private BaseInfoService baseInfoService;
|
|
|
|
|
|
- @ApiOperation(value = "登录接口", notes = "参数accountType值说明:普通账号类型=COMMON_LOGIN_NAME,学号类型=STUDENT_CODE,学生手机号类型=STUDENT_PHONE")
|
|
|
|
|
|
+ @ApiOperation(value = "登录接口", notes = "参数accountType值说明:学生身份证号类型=STUDENT_IDENTITY_NUMBER,学生学号类型=STUDENT_CODE,学生手机号类型=STUDENT_PHONE")
|
|
@RequestMapping(value = "/user/login", method = {RequestMethod.GET, RequestMethod.POST})
|
|
@RequestMapping(value = "/user/login", method = {RequestMethod.GET, RequestMethod.POST})
|
|
public Result<UserInfo> login(@RequestParam String account, @RequestParam String password, @RequestParam String accountType,
|
|
public Result<UserInfo> login(@RequestParam String account, @RequestParam String password, @RequestParam String accountType,
|
|
@RequestParam(required = false) Long rootOrgId, @RequestParam(required = false) String domain) throws Exception {
|
|
@RequestParam(required = false) Long rootOrgId, @RequestParam(required = false) String domain) throws Exception {
|