| | |
| | | import com.xcong.farmer.cms.modules.system.service.IColumnService; |
| | | import com.xcong.farmer.cms.modules.system.vo.AdminColumnVo; |
| | | import com.xcong.farmer.cms.modules.system.vo.AdminSeeColumnInfoVo; |
| | | import com.xcong.farmer.cms.modules.system.vo.WebColumnVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.validation.Valid; |
| | | |
| | | @RestController |
| | |
| | | return Result.ok("发布成功"); |
| | | } |
| | | |
| | | @ApiOperation(value = "网页栏目列表", notes = "网页栏目列表") |
| | | @ApiResponses({@ApiResponse(code = 200, message = "ok", response = WebColumnVo.class)}) |
| | | @GetMapping(value = "/webColumnInList") |
| | | public Result webColumnInList(HttpServletRequest request) { |
| | | return iColumnService.getWebColumnInList(request); |
| | | } |
| | | |
| | | } |