|
|
@@ -25,6 +25,7 @@ import com.fs.his.service.IFsIntegralGoodsService;
|
|
|
import com.fs.sop.domain.QwSop;
|
|
|
import com.fs.sop.service.IQwSopService;
|
|
|
import com.fs.system.service.ISysConfigService;
|
|
|
+import com.fs.voice.utils.StringUtil;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import com.hc.openapi.tool.fastjson.JSON;
|
|
|
@@ -237,10 +238,15 @@ public class CourseQwController extends AppBaseController {
|
|
|
@PostMapping("/sendReward")
|
|
|
@RepeatSubmit
|
|
|
@UserOperationLog(operationType = FsUserOperationEnum.SENDREWARD)
|
|
|
- public R sendReward(@RequestBody @Valid FsCourseSendRewardUParam param)
|
|
|
+ public R sendReward(@RequestBody FsCourseSendRewardUParam param)
|
|
|
{
|
|
|
param.setUserId(Long.parseLong(getUserId()));
|
|
|
logger.info("【发放奖励】3:{}",param);
|
|
|
+
|
|
|
+ if ( param.getSource()!=3 && StringUtil.strIsNullOrEmpty(param.getAppId())){
|
|
|
+ return R.error("appId不能为空");
|
|
|
+ }
|
|
|
+
|
|
|
return courseVideoService.sendReward(param);
|
|
|
}
|
|
|
|