|
@@ -108,7 +108,7 @@ public class WorkOfflineListener implements ChannelAwareMessageListener {
|
|
|
WorkEntity workEntity = workService.getById(param.getWorkId());
|
|
|
if (ObjUtil.isNotEmpty(workEntity)) {
|
|
|
//切图状态:-1失败 0未生成 1排队中 2生成中 3生成成功
|
|
|
- workService.updateOfflineStatus(param.getWorkId(), 1);
|
|
|
+ workService.updateOfflineStatus(param.getWorkId(), 2);
|
|
|
//下载接口数据。
|
|
|
String basePath = param.getPath() + File.separator + "wwwroot";
|
|
|
if (!FileUtil.exist(basePath)) {
|