修正访客上传图片
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m15s
All checks were successful
Build and Push to Target Registry / 构建并推送镜像到目标仓库 (push) Successful in 6m15s
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user