|
@@ -1,10 +1,7 @@
|
|
|
package thyyxxk.webserver.controller.nationalmatch;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-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;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import thyyxxk.webserver.entity.ResultVo;
|
|
|
import thyyxxk.webserver.entity.nationalmatch.QueryParam;
|
|
|
import thyyxxk.webserver.entity.nationalmatch.StandardLocalItem;
|
|
@@ -33,6 +30,11 @@ public class NationalMatchController {
|
|
|
return service.selectLocalItems(param);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/asyncNewNameForServices")
|
|
|
+ public ResultVo<String> asyncNewNameForServices() {
|
|
|
+ return service.asyncNewNameForServices();
|
|
|
+ }
|
|
|
+
|
|
|
@PostMapping("/selectNationalItems")
|
|
|
public ResultVo<List> selectNationalItems(@RequestBody StandardLocalItem param) {
|
|
|
return service.selectNationalItems(param);
|