123
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -22,6 +22,5 @@ public class IncomeStatisticsJob {
|
|||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error("更新每日收益统计失败!",e);
|
log.error("更新每日收益统计失败!",e);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user