/sso/getData 示例返回值改为 SaResult 类型

This commit is contained in:
click33 2023-05-13 09:26:33 +08:00
parent 5173c2637b
commit 7c290ad24a
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class SsoServerController {
// 示例获取数据接口用于在模式三下 client 端开放拉取数据的接口
@RequestMapping("/sso/getData")
public Object getData(String apiType, String loginId) {
public SaResult getData(String apiType, String loginId) {
System.out.println("---------------- 获取数据 ----------------");
System.out.println("apiType=" + apiType);
System.out.println("loginId=" + loginId);

View File

@ -115,7 +115,7 @@ forest.log-enabled: false
``` java
// 示例:获取数据接口(用于在模式三下,为 client 端开放拉取数据的接口)
@RequestMapping("/sso/getData")
public Object getData(String apiType, String loginId) {
public SaResult getData(String apiType, String loginId) {
System.out.println("---------------- 获取数据 ----------------");
System.out.println("apiType=" + apiType);
System.out.println("loginId=" + loginId);