|
@@ -75,6 +75,9 @@ public class TaskController extends BaseController {
|
|
|
@Autowired
|
|
|
private ImGroupService imGroupService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private UserTenantAlbumRecordService userTenantAlbumRecordService;
|
|
|
+
|
|
|
/***
|
|
|
* 轮询用户订单
|
|
|
* @author liweifan
|
|
@@ -231,4 +234,16 @@ public class TaskController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 机构学生训练教材过期
|
|
|
+ */
|
|
|
+ @GetMapping("/sendTenantAlbumMessage")
|
|
|
+ public HttpResponseResult<Object> sendTenantAlbumMessage() {
|
|
|
+
|
|
|
+ // 群发消息定时
|
|
|
+ userTenantAlbumRecordService.sendTenantAlbumMessage();
|
|
|
+
|
|
|
+ return HttpResponseResult.succeed();
|
|
|
+ }
|
|
|
+
|
|
|
}
|