命名错误,课程营销标签分开的bug
This commit is contained in:
@@ -4,8 +4,8 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.peanut.common.utils.R;
|
||||
import com.peanut.common.utils.ShiroUtils;
|
||||
import com.peanut.modules.common.entity.CourseEntity;
|
||||
import com.peanut.modules.common.entity.CourseMarketEntity;
|
||||
import com.peanut.modules.common.entity.CourseMedical;
|
||||
import com.peanut.modules.common.entity.CourseMedicineMarketEntity;
|
||||
import com.peanut.modules.common.entity.CourseMedicine;
|
||||
import com.peanut.modules.common.to.ParamTo;
|
||||
import com.peanut.modules.medical.service.CourseMarketService;
|
||||
import com.peanut.modules.medical.service.CourseMedicalService;
|
||||
@@ -32,7 +32,7 @@ public class HomeController {
|
||||
//获取医学标签列表
|
||||
@RequestMapping("/getMedicalLabels")
|
||||
public R getMedicalLabels(@RequestBody ParamTo param){
|
||||
List<CourseMedical> sociologyLabels = medicalService.getMedicalLabels(param.getId());
|
||||
List<CourseMedicine> sociologyLabels = medicalService.getMedicalLabels(param.getId());
|
||||
return R.ok().put("labels",sociologyLabels);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ public class HomeController {
|
||||
*/
|
||||
@RequestMapping(path = "/courseMarketTree")
|
||||
public R courseMarketTree() {
|
||||
List<CourseMarketEntity> labelsTree = courseMarketService.courseMarketTree();
|
||||
List<CourseMedicineMarketEntity> labelsTree = courseMarketService.courseMarketTree();
|
||||
return R.ok().put("result", labelsTree);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user