|
@@ -8,12 +8,10 @@ import com.ym.mec.biz.service.ContractService;
|
|
import com.ym.mec.biz.service.StudentCompetitionService;
|
|
import com.ym.mec.biz.service.StudentCompetitionService;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
-import com.ym.mec.util.idcard.IdcardValidator;
|
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
-import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -32,8 +30,6 @@ public class StudentCompetitionController extends BaseController {
|
|
private StudentCompetitionService studentCompetitionService;
|
|
private StudentCompetitionService studentCompetitionService;
|
|
@Autowired
|
|
@Autowired
|
|
private SysUserFeignService sysUserFeignService;
|
|
private SysUserFeignService sysUserFeignService;
|
|
- @Autowired
|
|
|
|
- private ContractService contractService;
|
|
|
|
|
|
|
|
@ApiOperation(value = "新增参赛作品")
|
|
@ApiOperation(value = "新增参赛作品")
|
|
@PostMapping("/add")
|
|
@PostMapping("/add")
|