|
|
|
@ -4,19 +4,20 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.cyjd.rights.beans.R; |
|
|
|
import com.cyjd.rights.business.service.LinkService; |
|
|
|
import com.cyjd.rights.dto.AddLinkDto; |
|
|
|
import com.cyjd.rights.entity.ConfigEntity; |
|
|
|
import com.cyjd.rights.entity.LinkEntity; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
@Api(value = "链接类接口", tags = "链接类接口") |
|
|
|
@RestController |
|
|
|
@RequestMapping("/link") |
|
|
|
@RequestMapping("/rights/link") |
|
|
|
@Slf4j |
|
|
|
public class LinkController { |
|
|
|
@Autowired |
|
|
|
|