Authored by qinchao

专线宽带1分钟调用一次

@@ -79,7 +79,7 @@ public class QcloudBandwidthTask { @@ -79,7 +79,7 @@ public class QcloudBandwidthTask {
79 for (int i = list.size() - 1; i >= 0; i--) { 79 for (int i = list.size() - 1; i >= 0; i--) {
80 Object bandwidth = list.get(i); 80 Object bandwidth = list.get(i);
81 if (bandwidth != null){ 81 if (bandwidth != null){
82 - outtraffic = (Integer) bandwidth; 82 + outtraffic = ((Double) bandwidth).intValue();
83 break; 83 break;
84 } 84 }
85 85
@@ -91,7 +91,7 @@ public class QcloudBandwidthTask { @@ -91,7 +91,7 @@ public class QcloudBandwidthTask {
91 for (int i = list2.size() - 1; i >= 0; i--) { 91 for (int i = list2.size() - 1; i >= 0; i--) {
92 Object bandwidth = list2.get(i); 92 Object bandwidth = list2.get(i);
93 if (bandwidth != null){ 93 if (bandwidth != null){
94 - intraffic = (Integer) bandwidth; 94 + intraffic = ((Double) bandwidth).intValue();
95 break; 95 break;
96 } 96 }
97 97