|
@@ -17,6 +17,8 @@ import com.fs.qw.vo.ExternalContactDetailsVO;
|
|
|
import com.fs.qw.vo.QwTagGroupListVO;
|
|
|
import com.fs.qw.vo.sidebar.ExternalContactInfoVO;
|
|
|
import com.fs.qw.vo.sidebar.ExternalContactTagVO;
|
|
|
+import com.fs.sop.service.ISopUserLogsInfoService;
|
|
|
+import com.fs.sop.vo.ExtCourseSopWatchLogVO;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import io.swagger.annotations.Api;
|
|
@@ -45,6 +47,9 @@ public class QwUserController extends BaseController {
|
|
|
@Autowired
|
|
|
private IQwTagGroupService qwTagGroupService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ISopUserLogsInfoService iSopUserLogsInfoService;
|
|
|
+
|
|
|
@GetMapping("/details")
|
|
|
@ApiOperation("会员看课详情")
|
|
|
public R getUserDetails(@ApiParam(value = "外部联系人id", required = true) @RequestParam Long contactId,
|
|
@@ -81,6 +86,14 @@ public class QwUserController extends BaseController {
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/extCourseSopWatchLog")
|
|
|
+ @ApiOperation("获取外部联系人按照 营期天数 获取到的今天该看的课")
|
|
|
+ public R getExtCourseSopWatchLog(@RequestParam(value = "qwExternalContactId") Long qwExternalContactId) {
|
|
|
+ List<ExtCourseSopWatchLogVO> tagList = iSopUserLogsInfoService.getExtCourseSopWatchLog(qwExternalContactId);
|
|
|
+ return R.ok().put("data", tagList);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@GetMapping("/externalContact")
|
|
|
@ApiOperation("获取侧边栏外部联系人信息")
|
|
|
public R getExternalContactInfo(@RequestParam(value = "qwExternalContactId") Long qwExternalContactId) {
|