This commit is contained in:
zhangzq
2026-04-02 10:58:56 +08:00
commit ffd7bbfe72
27 changed files with 1133 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
package org.nl.gateway;
import org.nl.finnaceapi.dto.Init;
import org.nl.finnaceapi.feignApi.FinanceFeignApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController()
@RequestMapping("/api")
public class InitController {
@Autowired
private FinanceFeignApi financeFeignApi;
@GetMapping("/gateway")
public Init getPlan(){
return financeFeignApi.init();
}
}