123
This commit is contained in:
@@ -36,7 +36,7 @@ public class BusOpController {
|
||||
@GetMapping("/deleteUserCall")
|
||||
public R<Void> deleteUserCall(){
|
||||
log.info("清洗垃圾通话记录-开始");
|
||||
busOp.deleteUserCall(15);
|
||||
busOp.deleteUserCall(16);
|
||||
log.info("清洗垃圾通话记录-结束");
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.ruoyi.test.business;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.ruoyi.cai.im.ImManager;
|
||||
import com.ruoyi.op.ImOp;
|
||||
import com.ruoyi.yunxin.client.ImUserClient;
|
||||
import com.ruoyi.yunxin.client.ImUserRefClient;
|
||||
@@ -28,9 +29,17 @@ public class YxTest {
|
||||
public void test(){
|
||||
GetUnifoReq getUnifoReq = new GetUnifoReq();
|
||||
List<String> accids = new ArrayList<>();
|
||||
accids.add("2");
|
||||
accids.add("1088");
|
||||
getUnifoReq.setAccids(JSON.toJSONString(accids));
|
||||
YxUpdateUinfoR uinfos = imUserRefClient.getUinfos(getUnifoReq);
|
||||
log.info(JSON.toJSONString(uinfos));
|
||||
}
|
||||
|
||||
@Autowired
|
||||
private ImManager imManager;
|
||||
|
||||
@Test
|
||||
public void unlock(){
|
||||
imManager.unblock(1088L);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user