123
This commit is contained in:
@@ -15,7 +15,7 @@ public class HomeRecommendJob {
|
||||
|
||||
|
||||
// 每6分钟执行一次
|
||||
@Scheduled(cron = "0 0/3 * * * ?")
|
||||
@Scheduled(cron = "0 0/2 * * * ?")
|
||||
public void clearRun() {
|
||||
try {
|
||||
homeManager.refreshHomeActiveCache();
|
||||
|
||||
@@ -22,6 +22,5 @@ public class IncomeStatisticsJob {
|
||||
}catch (Exception e){
|
||||
log.error("更新每日收益统计失败!",e);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.test.business;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.ruoyi.op.ImOp;
|
||||
import com.ruoyi.yunxin.client.ImUserRefClient;
|
||||
import com.ruoyi.yunxin.req.GetUnifoReq;
|
||||
import com.ruoyi.yunxin.resp.YxUpdateUinfoR;
|
||||
@@ -17,15 +18,10 @@ import java.util.List;
|
||||
public class YxTest {
|
||||
|
||||
@Autowired
|
||||
private ImUserRefClient imUserRefClient;
|
||||
private ImOp imOp;
|
||||
|
||||
@Test
|
||||
public void test(){
|
||||
GetUnifoReq req = new GetUnifoReq();
|
||||
List<String> list = new ArrayList<>();
|
||||
list.add("1067");
|
||||
req.setAccids(JSON.toJSONString(list));
|
||||
YxUpdateUinfoR uinfos = imUserRefClient.getUinfos(req);
|
||||
log.info(JSON.toJSONString(uinfos));
|
||||
imOp.refreshImToken("1367");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
sum(cash_money) as cash_money,
|
||||
count(id) as cash_money
|
||||
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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user