|
@@ -1024,6 +1024,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
if (log == null) {
|
|
|
return R.error("无记录");
|
|
|
}
|
|
|
+ if (log.getLogType() != 2) {
|
|
|
+ return R.error("未完课");
|
|
|
+ }
|
|
|
if (log.getRewardType() != null) {
|
|
|
FsCourseRedPacketLog packetLog = redPacketLogMapper.selectFsCourseRedPacketLogByTemporary(param.getVideoId(), param.getUserId());
|
|
|
if(packetLog != null && packetLog.getStatus() == 1) {
|