|
@@ -48,11 +48,14 @@ public class FsCoursePlaySourceConfigController extends BaseController {
|
|
|
@RequestParam(required = false) String appid,
|
|
@RequestParam(required = false) String appid,
|
|
|
@RequestParam(required = false) Integer isMall,
|
|
@RequestParam(required = false) Integer isMall,
|
|
|
@RequestParam(required = false, defaultValue = "1") Integer pageNum,
|
|
@RequestParam(required = false, defaultValue = "1") Integer pageNum,
|
|
|
- @RequestParam(required = false, defaultValue = "10") Integer pageSize) {
|
|
|
|
|
|
|
+ @RequestParam(required = false, defaultValue = "10") Integer pageSize,
|
|
|
|
|
+ @RequestParam(required = false) Long companyId
|
|
|
|
|
+ ) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
params.put("name", name);
|
|
params.put("name", name);
|
|
|
params.put("appid", appid);
|
|
params.put("appid", appid);
|
|
|
params.put("isMall", isMall);
|
|
params.put("isMall", isMall);
|
|
|
|
|
+ params.put("companyId", companyId);
|
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
String json = configService.selectConfigByKey("course.config");
|
|
String json = configService.selectConfigByKey("course.config");
|
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|
|
CourseConfig config = JSONUtil.toBean(json, CourseConfig.class);
|