在容器中调用封装好的SDK包,出现域名访问不了的问题,要怎么替换?
cn.binarywang.wx.miniapp.api.WxMaService;
String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s";
String JSCODE_TO_SESSION_URL = "https://api.weixin.qq.com/sns/jscode2session";
String GET_PAID_UNION_ID_URL = "https://api.weixin.qq.com/wxa/getpaidunionid";
String SET_DYNAMIC_DATA_URL = "https://api.weixin.qq.com/wxa/setdynamicdata";
出现Caused by: java.net.UnknownHostException: api.weixin.qq.com: Name or service not known报错信息,在不改动容器网络配置的情况下怎么成功访问调用相关接口?