| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import org.apache.logging.log4j.util.Strings; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | |
| | | circle.setDepth(1); |
| | | } |
| | | circle.setUserId(AuthUtil.getUserId()); |
| | | return R.status(circleService.save(circle)); |
| | | String msg = circleService.saveComment(circle); |
| | | if (!Strings.isBlank(msg)&& msg.equals("操作成功")){ |
| | | return R.data(200,"",msg); |
| | | } |
| | | return R.data(201,"",msg); |
| | | } |
| | | |
| | | /** |