Authored by mingdan.ge

cps获取渠道号接口返回信息过期时间

... ... @@ -887,6 +887,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
UnionShareUser unionShareUser = getUnionShareUser(uid);
if (null != unionShareUser && unionShareUser.getStatus() == 1) {
BeanUtils.copyProperties(unionShareUser, bo);
bo.setExp(System.currentTimeMillis()+3600000L*24);
} else {
bo.setApplyH5Url(configReader.getString(UNION_APPLY_H5_URL, ""));//无渠道号需要h5申请页面,此处配置跳转规则
}
... ... @@ -1144,6 +1145,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
req.setEndTime(endTime);
req.setQueryAll(true);
req.setStatus(1);
req.setSize(100);
List<UnionShareUserApplyListBo> applyListBos = unionShareUserApplyMapper.selectByCondition(req);
if (CollectionUtils.isEmpty(applyListBos)) {
return;
... ...