|
|
@ -746,6 +746,10 @@ public class DlBasicService {
|
|
|
|
* @return
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public BaseResponse downloadNow(Integer type) {
|
|
|
|
public BaseResponse downloadNow(Integer type) {
|
|
|
|
|
|
|
|
Object o = redisUtil.get(Constant.SPS_SYNC_DOWNLOAD_INFO);
|
|
|
|
|
|
|
|
if (null != o) {
|
|
|
|
|
|
|
|
return ResultVOUtils.error(500, "已存在下载任务,请等待下载完成!");
|
|
|
|
|
|
|
|
}
|
|
|
|
String downloadInfo = null;
|
|
|
|
String downloadInfo = null;
|
|
|
|
if (null != type) {
|
|
|
|
if (null != type) {
|
|
|
|
switch (type) {
|
|
|
|
switch (type) {
|
|
|
|