修正访客上传图片
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m15s

This commit is contained in:
2025-08-18 19:46:03 +08:00
parent 06ab323f21
commit 38e75e6b6b
6 changed files with 41 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
package org.dromara.property.dubbo;
import lombok.RequiredArgsConstructor;
import org.apache.dubbo.config.annotation.DubboService;
import org.dromara.common.core.constant.GlobalConstants;
import org.dromara.common.redis.utils.RedisUtils;
import org.dromara.property.api.RemoteVisitoreGetCodeInfoService;
import org.dromara.property.domain.bo.QrCodeInfo;
@DubboService
@RequiredArgsConstructor
public class RemoteVisitoreGetCodeInfo implements RemoteVisitoreGetCodeInfoService {
@Override
public String getCodeInfo(String code) {
QrCodeInfo info = RedisUtils.getCacheObject(GlobalConstants.CAPTCHA_CODE_KEY +"Qrcode" +code);
return info.getUserid().toString();
}
}