|
@@ -452,7 +452,7 @@ public class BatchDonloadServiceImpl implements IBatchDonloadService {
|
|
|
List<String> nums = FileUtil.readUtf8Lines(tempFile);
|
|
List<String> nums = FileUtil.readUtf8Lines(tempFile);
|
|
|
for (String num : nums) {
|
|
for (String num : nums) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
- jsonObject.put("num", num);
|
|
|
|
|
|
|
+ jsonObject.put("num", num.trim());
|
|
|
mqProducer.sendByWorkQueue("batch-download-scene", jsonObject);
|
|
mqProducer.sendByWorkQueue("batch-download-scene", jsonObject);
|
|
|
}
|
|
}
|
|
|
return ResultData.ok(null);
|
|
return ResultData.ok(null);
|