|
@@ -209,9 +209,9 @@ public class LoginService {
|
|
|
// if(!file.exists()){
|
|
// if(!file.exists()){
|
|
|
// fYunFileServiceInterface.downloadFile(QrCodeFilePath.LOGO_IMAGE_OSS,QrCodeFilePath.LOGO_IMAGE_LOCAL);
|
|
// fYunFileServiceInterface.downloadFile(QrCodeFilePath.LOGO_IMAGE_OSS,QrCodeFilePath.LOGO_IMAGE_LOCAL);
|
|
|
// }
|
|
// }
|
|
|
- //MatrixToImageWriterUtil.createQRCode(NacosProperty.getMainUrl() + "app/index.html?m="+uuid, filePath,true,QrCodeFilePath.LOGO_IMAGE_LOCAL);
|
|
|
|
|
|
|
+// MatrixToImageWriterUtil.createQRCode(NacosProperty.getMainUrl() + "app/index.html?m="+uuid, filePath,true,QrCodeFilePath.LOGO_IMAGE_LOCAL);
|
|
|
JSONObject json = new JSONObject();
|
|
JSONObject json = new JSONObject();
|
|
|
- // json.put("url", filePath.replace(ConstantFilePath.BASE_PATH, ""));
|
|
|
|
|
|
|
+// json.put("url", filePath.replace(ConstantFilePath.BASE_PATH, ""));
|
|
|
json.put("uuid", uuid);
|
|
json.put("uuid", uuid);
|
|
|
redisUtil.set(RedisKeyUtil.QRCODE+uuid,uuid,5*60);
|
|
redisUtil.set(RedisKeyUtil.QRCODE+uuid,uuid,5*60);
|
|
|
return json;
|
|
return json;
|