|
|
@@ -11,6 +11,7 @@ import com.zhongzheng.modules.base.vo.BaseFilterVo;
|
|
|
import com.zhongzheng.modules.course.service.ICourseEducationTypeService;
|
|
|
import com.zhongzheng.modules.course.vo.CourseEducationTypeVo;
|
|
|
import com.zhongzheng.modules.goods.bo.GoodsFirstChoiceAddBo;
|
|
|
+import com.zhongzheng.modules.goods.vo.GoodsVo;
|
|
|
import com.zhongzheng.modules.order.bo.*;
|
|
|
import com.zhongzheng.modules.order.service.IOrderGoodsService;
|
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
@@ -237,4 +238,10 @@ public class OrderController extends BaseController {
|
|
|
bo.setUserId(loginUser.getUser().getUserId());
|
|
|
return AjaxResult.success(iOrderGoodsService.firstChoiceGoods(bo));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("获取课程视频标签")
|
|
|
+ @GetMapping("/getViewSign/{orderGoodsId}")
|
|
|
+ public AjaxResult<GoodsVo> getCourseViewSign(@PathVariable("orderGoodsId") Long orderGoodsId) {
|
|
|
+ return AjaxResult.success(iOrderGoodsService.getCourseViewSign(orderGoodsId));
|
|
|
+ }
|
|
|
}
|