|
@@ -5,7 +5,6 @@ import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.facade.TestwordInfoFacade;
|
|
import com.diagbot.facade.TestwordInfoFacade;
|
|
import com.diagbot.vo.SymptomFeatureVO;
|
|
import com.diagbot.vo.SymptomFeatureVO;
|
|
import com.diagbot.vo.TestStandVO;
|
|
import com.diagbot.vo.TestStandVO;
|
|
-import com.diagbot.vo.TestwordInfoVO;
|
|
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -15,8 +14,6 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import java.util.Map;
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* <p>
|
|
* <p>
|
|
* 词提取用例 前端控制器
|
|
* 词提取用例 前端控制器
|
|
@@ -28,17 +25,18 @@ import java.util.Map;
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/testwordInfo")
|
|
@RequestMapping("/testwordInfo")
|
|
@Api(value = "提词API", tags = { "提词API" })
|
|
@Api(value = "提词API", tags = { "提词API" })
|
|
|
|
+@SuppressWarnings("unchecked")
|
|
public class TestwordInfoController {
|
|
public class TestwordInfoController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
TestwordInfoFacade testwordInfoFacade;
|
|
TestwordInfoFacade testwordInfoFacade;
|
|
|
|
|
|
-// @ApiOperation(value = "提词API[zhoutg]",
|
|
|
|
-// notes = "提词API")
|
|
|
|
-// @PostMapping("/getword")
|
|
|
|
-// public RespDTO<Map<String, String>> getword(@RequestBody TestwordInfoVO testwordInfoVO) {
|
|
|
|
-// return RespDTO.onSuc(testwordInfoFacade.getWord(testwordInfoVO));
|
|
|
|
-// }
|
|
|
|
|
|
+ // @ApiOperation(value = "提词API[zhoutg]",
|
|
|
|
+ // notes = "提词API")
|
|
|
|
+ // @PostMapping("/getword")
|
|
|
|
+ // public RespDTO<Map<String, String>> getword(@RequestBody TestwordInfoVO testwordInfoVO) {
|
|
|
|
+ // return RespDTO.onSuc(testwordInfoFacade.getWord(testwordInfoVO));
|
|
|
|
+ // }
|
|
|
|
|
|
@ApiOperation(value = "提词转换API[zhoutg]",
|
|
@ApiOperation(value = "提词转换API[zhoutg]",
|
|
notes = "提词转换API")
|
|
notes = "提词转换API")
|