|
|
@@ -205,11 +205,14 @@ public class AuthController {
|
|
|
return success(authService.pmsSsoToken(reqVO));
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/getUser")
|
|
|
+ @GetMapping("/getUser")
|
|
|
@PermitAll
|
|
|
@Operation(summary = "CRM系统根据登录token获取登录人工号 免登录", description = "CRM获取登录人工号")
|
|
|
- public CrmResult<String> crmGetUser(@RequestBody @Valid AuthCrmLoginReqVO reqVO) {
|
|
|
- return crmSuccess(authService.crmGetUser(reqVO));
|
|
|
+ @Parameters({
|
|
|
+ @Parameter(name = "token", description = "token", required = true),
|
|
|
+ })
|
|
|
+ public CrmResult<String> crmGetUser(@RequestParam("token") String token) {
|
|
|
+ return crmSuccess(authService.crmGetUser(token));
|
|
|
}
|
|
|
|
|
|
@PostMapping("/h5SocialLogin")
|