|
@@ -38,7 +38,6 @@ public class QwLoginController {
|
|
|
@PostMapping("/getQrCode")
|
|
|
public CommonResponse<QwLoginQRCodeModel> getQrCode(@RequestBody String phoneNumber) {
|
|
|
QwCommonResModel<QwLoginQRCodeModel> loginModel = qwLoginService.getLoginQRCode(phoneNumber);
|
|
|
-
|
|
|
return CommonResponse.success(loginModel.getData());
|
|
|
}
|
|
|
|
|
@@ -86,5 +85,9 @@ public class QwLoginController {
|
|
|
// QwLoginQRCodeModel QRCODE = JSON.parseObject(response, QwLoginQRCodeModel.class);
|
|
|
// return CommonResponse.success("ok");
|
|
|
}
|
|
|
+ @PostMapping("/getRunClients")//获取运行中的实例
|
|
|
+ public CommonResponse<String> getRunClients() {
|
|
|
+ return CommonResponse.success(qwLoginService.getRunClients());
|
|
|
+ }
|
|
|
|
|
|
}
|