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