提交 6b546398 authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 8198bdff
......@@ -123,8 +123,10 @@ public class FgVideoLibraryController {
GoodsForm entity = new GoodsForm();
entity.setId(oid);
entity.setType(AllResourceTypeEnum.VIDEO.getCode().toString());
if(fgOrderClient.isExistBuyGoods(entity).getData()) {
if(fgOrderClient.isExistBuyGoods(entity) != null && fgOrderClient.isExistBuyGoods(entity).getData()) {
vo.setIsBuy(1);
}else {
vo.setIsBuy(0);
}
vo.setTimeSpeed(fgResourceManage.getSpeed(courseId, oid, AllResourceTypeEnum.VIDEO.getCode(), redis.getMemberW().getId()));
return CallBack.success(vo);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论