|
|
@ -244,7 +244,7 @@ public class SpGetHttpClient {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public BaseResponse<String> testConnect() {
|
|
|
|
public BaseResponse<String> testConnect() {
|
|
|
|
String response = okHttpCli.doGet(getIpUrl() + "udispsync/sync/testConnection");
|
|
|
|
String response = okHttpCli.doGet(getIpUrl() + "/udispsync/sync/testConnection");
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
BaseResponse<String> data =
|
|
|
|
BaseResponse<String> data =
|
|
|
|
JSONObject.parseObject(response, new TypeReference<BaseResponse<String>>() {
|
|
|
|
JSONObject.parseObject(response, new TypeReference<BaseResponse<String>>() {
|
|
|
|