|
|
|
@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSON;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
|
|
|
|
|
import com.weaver.common.cache.base.BaseCache;
|
|
|
|
|
import com.weaver.mc.util.StringUtils;
|
|
|
|
|
import com.weaver.seconddev.interfaces.htjt.util.TransUtil;
|
|
|
|
|
import com.weaver.seconddev.interfaces.prop.ConfigProp;
|
|
|
|
|
import org.apache.http.client.methods.CloseableHttpResponse;
|
|
|
|
@ -114,9 +115,10 @@ public class CallDTtripService extends BaseBean {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getToken(JSONObject jsonObject,String account,String password){
|
|
|
|
|
logger_a99d9846.error("getToken");
|
|
|
|
|
// String token = (String) Util_DataCache.getObjVal("DTtrip_token");
|
|
|
|
|
String token = "";
|
|
|
|
|
if (token == null) {
|
|
|
|
|
if (StringUtils.isEmpty(token)) {
|
|
|
|
|
String result = "";
|
|
|
|
|
// String url = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_tokenUrl")).trim();
|
|
|
|
|
// String account = Util.null2String(I18nContextUtilcus.getBean(Environment.class).getProperty("htsloasync.dttrip_account")).trim();
|
|
|
|
|