Commit a1769913 by fanjiaxin

联调问题处理

parent 7eaa7398
Pipeline #71631 passed with stages
in 1 minute 19 seconds
...@@ -493,16 +493,7 @@ public class DrmSharerConfig { ...@@ -493,16 +493,7 @@ public class DrmSharerConfig {
* 根据 openId 获取推客的 SharerAppid * 根据 openId 获取推客的 SharerAppid
*/ */
private String getSharerAppidByOpenId(String openId) { private String getSharerAppidByOpenId(String openId) {
SharerInfo sharerInfo = sharerInfoMap.get(openId); SharerInfo sharerInfo = getSharerInfoByOpenId(openId);
if (null == sharerInfo) {
LambdaQueryWrapper<SharerInfo> sharerInfoLqw = Wrappers.lambdaQuery();
sharerInfoLqw.eq(SharerInfo::getOpenId, openId);
sharerInfoLqw.last("LIMIT 1");
sharerInfo = sharerInfoMapper.selectOne(sharerInfoLqw);
if (null != sharerInfo) {
sharerInfoMap.put(openId, sharerInfo);
}
}
return null != sharerInfo ? sharerInfo.getSharerAppid() : null; return null != sharerInfo ? sharerInfo.getSharerAppid() : null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment