This commit is contained in:
张良(004796)
2024-04-18 19:18:13 +08:00
parent 8ac4e40380
commit ed51ede58d
4 changed files with 5 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ public class HomeRecommendJob {
// 每6分钟执行一次 // 每6分钟执行一次
@Scheduled(cron = "0 0/3 * * * ?") @Scheduled(cron = "0 0/2 * * * ?")
public void clearRun() { public void clearRun() {
try { try {
homeManager.refreshHomeActiveCache(); homeManager.refreshHomeActiveCache();

View File

@@ -22,6 +22,5 @@ public class IncomeStatisticsJob {
}catch (Exception e){ }catch (Exception e){
log.error("更新每日收益统计失败!",e); log.error("更新每日收益统计失败!",e);
} }
} }
} }

View File

@@ -1,6 +1,7 @@
package com.ruoyi.test.business; package com.ruoyi.test.business;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.ruoyi.op.ImOp;
import com.ruoyi.yunxin.client.ImUserRefClient; import com.ruoyi.yunxin.client.ImUserRefClient;
import com.ruoyi.yunxin.req.GetUnifoReq; import com.ruoyi.yunxin.req.GetUnifoReq;
import com.ruoyi.yunxin.resp.YxUpdateUinfoR; import com.ruoyi.yunxin.resp.YxUpdateUinfoR;
@@ -17,15 +18,10 @@ import java.util.List;
public class YxTest { public class YxTest {
@Autowired @Autowired
private ImUserRefClient imUserRefClient; private ImOp imOp;
@Test @Test
public void test(){ public void test(){
GetUnifoReq req = new GetUnifoReq(); imOp.refreshImToken("1367");
List<String> list = new ArrayList<>();
list.add("1067");
req.setAccids(JSON.toJSONString(list));
YxUpdateUinfoR uinfos = imUserRefClient.getUinfos(req);
log.info(JSON.toJSONString(uinfos));
} }
} }

View File

@@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
sum(cash_money) as cash_money, sum(cash_money) as cash_money,
count(id) as cash_money count(id) as cash_money
from cai_account_cash from cai_account_cash
where status = 2 and verify_time between #{startTime} and #{endTime} where status = 2 and create_time between #{startTime} and #{endTime}
</select> </select>