|
|
@@ -1,14 +1,5 @@
|
|
|
package space.anyi.client;
|
|
|
|
|
|
-import cn.hutool.crypto.digest.MD5;
|
|
|
-import cn.hutool.http.Header;
|
|
|
-import cn.hutool.http.HttpRequest;
|
|
|
-import cn.hutool.http.HttpResponse;
|
|
|
-import cn.hutool.json.JSONUtil;
|
|
|
-import space.anyi.openApi.comom.model.User;
|
|
|
-
|
|
|
-import java.nio.charset.StandardCharsets;
|
|
|
-
|
|
|
/**
|
|
|
* @ProjectName: yangyi-open-api-platform
|
|
|
* @FileName: ClientApplication
|
|
|
@@ -20,8 +11,8 @@ public class ClientApplication {
|
|
|
public static final String ACCESS_KEY = "accessKey";
|
|
|
public static final String SECRET_KEY = "secretKey";
|
|
|
public static void main(String[] args) {
|
|
|
- OpenAPIClient client = new OpenAPIClient(ACCESS_KEY, SECRET_KEY,"http://localhost:10002");
|
|
|
- String path = "/open-api/user/body";
|
|
|
+ OpenAPIClient client = new OpenAPIClient(ACCESS_KEY, SECRET_KEY,"http://localhost:10001");
|
|
|
+ String path = "/open-api-gateway/open-api/user/body";
|
|
|
client.handler(path,"yangyi");
|
|
|
}
|
|
|
}
|