丁云鹏 8 maanden geleden
bovenliggende
commit
0efe1be9b1

+ 4 - 2
recommend-feature-produce/src/main/java/com/tzld/piaoquan/recommend/feature/produce/service/ODPSService.java

@@ -34,8 +34,10 @@ import java.util.Map;
 public class ODPSService {
     private final String accessId = "LTAIWYUujJAm7CbH";
     private final String accessKey = "RfSjdiWwED1sGFlsjXv0DlfTnZTG1P";
-    private final String odpsUrl = "http://service.odps.aliyun.com/api";
-    private final String tunnelUrl = "http://dt.cn-hangzhou.maxcompute.aliyun.com";
+    //    private final String odpsUrl = "http://service.odps.aliyun.com/api";
+//    private final String tunnelUrl = "http://dt.cn-hangzhou.maxcompute.aliyun.com";
+    private final String odpsUrl = "http://service.cn-hangzhou-vpc.maxcompute.aliyun-inc.com/api";
+    private final String tunnelUrl = "http://dt.cn-hangzhou-vpc.maxcompute.aliyun-inc.com";
     private final String sqlFormat = "select %s from %s where 1=1 %s ;";
     private final String countSqlFormat = "select count(1) as count from %s where 1=1 %s ;";