|
@@ -1,6 +1,7 @@
|
|
|
package com.tzld.piaoquan.ad.engine.service.score.container;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.alibaba.fastjson.TypeReference;
|
|
|
import com.aliyun.oss.OSS;
|
|
|
import com.aliyun.oss.OSSClientBuilder;
|
|
|
import com.aliyun.oss.common.auth.CredentialsProvider;
|
|
@@ -136,7 +137,7 @@ public class PidLambdaContainer {
|
|
|
while ((line=bufferedReader.readLine())!=null){
|
|
|
builder.append(line);
|
|
|
}
|
|
|
- lambdaCache=JSONObject.parseObject(builder.toString(),ConcurrentHashMap.class);
|
|
|
+ lambdaCache=JSONObject.parseObject(builder.toString(),new TypeReference<ConcurrentHashMap<Long,Double>>(){});
|
|
|
this.cacheDate=object.getObjectMetadata().getLastModified();
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|