|
@@ -75,8 +75,9 @@ public class QwLoginController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/quiteQwLogin")
|
|
|
- public CommonResponse<String> quiteQwLogin(@RequestBody String uuid) {
|
|
|
+ public CommonResponse<String> quiteQwLogin(@RequestBody Map<String, String> request) {
|
|
|
String url = qywxConfig.getDomain() + qywxConfig.getPath("quit-login");
|
|
|
+ String uuid = request.get("uuid");
|
|
|
Optional<String> response = httpPoolClientDefault.postJson(url, uuid);
|
|
|
boolean isSuccess = false;
|
|
|
if (response.isPresent()) {
|
|
@@ -93,7 +94,8 @@ public class QwLoginController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/checkLogin")//前端轮训检测是否登录成功
|
|
|
- public CommonResponse<LoginStatusResultModel> checkLogin(@RequestBody String uuid) {
|
|
|
+ public CommonResponse<LoginStatusResultModel> checkLogin(@RequestBody Map<String, String> request) {
|
|
|
+ String uuid = request.get("uuid");
|
|
|
UserBase user = qwLoginService.checkLogin(uuid);
|
|
|
LoginStatusResultModel model = new LoginStatusResultModel();
|
|
|
if (user != null && !TextUtils.isEmpty(user.getVid()) && user.getLoginStatus() == 1) {
|