|
|
@@ -55,7 +55,7 @@ public class ZrzysiteConstructController extends BaseController {
|
|
|
|
|
|
|
|
|
@GetMapping("/construct/{param}")
|
|
|
- @InnerAuth
|
|
|
+ //@InnerAuth
|
|
|
public R<String> runConstructScheduled( @PathVariable("param") String param ) {
|
|
|
//zrzysiteConstructService.syncConstructInfo("");
|
|
|
return R.ok("success1");
|
|
|
@@ -63,7 +63,7 @@ public class ZrzysiteConstructController extends BaseController {
|
|
|
|
|
|
|
|
|
@GetMapping("/land/{param}")
|
|
|
- @InnerAuth
|
|
|
+ //@InnerAuth -- 这里仅设置内部可以调用
|
|
|
public R<String> runLandScheduled( @PathVariable("param") String param ) {
|
|
|
//zrzysiteConstructService.syncConstructInfo("");
|
|
|
return R.ok("success1");
|
|
|
@@ -71,14 +71,16 @@ public class ZrzysiteConstructController extends BaseController {
|
|
|
|
|
|
|
|
|
@GetMapping("/ghhs/{param}")
|
|
|
- @InnerAuth
|
|
|
+ //@InnerAuth
|
|
|
public R<String> runGhhsScheduled( @PathVariable("param") String param ) {
|
|
|
- //zrzysiteConstructService.syncConstructInfo("");
|
|
|
+ System.out.println("----ghhs start------");
|
|
|
+ zrzysiteGhhsService.syncGhhsInfo();
|
|
|
return R.ok("success1");
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@GetMapping("/updateOnchain")
|
|
|
- @InnerAuth
|
|
|
+ //@InnerAuth
|
|
|
public R<String> runOnchainScheduled() {
|
|
|
//zrzysiteConstructService.syncConstructInfo("");
|
|
|
System.out.println("daole---dingshi");
|
|
|
@@ -88,10 +90,12 @@ public class ZrzysiteConstructController extends BaseController {
|
|
|
|
|
|
|
|
|
@GetMapping("/dingshi")
|
|
|
+ @InnerAuth
|
|
|
public R<String> dingshi() {
|
|
|
//zrzysiteLandService.syncLandInfo();
|
|
|
//zrzysiteGhhsService.syncGhhsInfo();
|
|
|
//zrzysiteConstructService.syncConstructInfo("");
|
|
|
+ System.out.println("daole--22");
|
|
|
return R.ok("success1");
|
|
|
}
|
|
|
|