package doumeemes.core.utils.edpg;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.iflytek.antelope.other.client.dto.resp.Result;
|
import com.iflytek.antelope.other.client.dto.resp.UserDTO;
|
import com.iflytek.antelope.other.client.sdk.UserInfoSdk;
|
import doumeemes.core.utils.HttpsUtil;
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@Slf4j
|
public class EdgpUtil {
|
|
public static void main(String[] args) {
|
}
|
|
public UserDTO getUserInfoById(String url,String userid,String token) {
|
try {
|
String result = HttpsUtil.sendGetByHttps( url+"/"+userid+"?x-token="+token,token);
|
JSONObject jsonObject = JSONObject.parseObject(result);
|
}catch (Exception e){
|
}
|
return null;
|
}
|
}
|