Browse Source

修改上报问题-提交接口

tags/V1.6.0
wanghaoran 2 years ago
parent
commit
8ee6cce345
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/FeedbackServiceImpl.java

+ 3
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/FeedbackServiceImpl.java View File

@@ -40,6 +40,9 @@ public class FeedbackServiceImpl extends BaseServiceImpl<FeedbackMapper, Feedbac

@Override
public JsonResult submit(Feedback feedback) {
if(StringUtils.isEmpty(feedback.getOpenid())){
return JsonResult.error("openid为空");
}
Stream stream = streamMapper.selectById(feedback.getStreamId());

if(ObjectUtil.isNotNull(stream)){

Loading…
Cancel
Save