|
@@ -157,8 +157,8 @@ public class SceneServiceImpl extends ServiceImpl<SceneMapper,SceneEntity> imple
|
|
|
|
|
|
@Override
|
|
|
public Result edit(SceneDataDto param){
|
|
|
- BaseRuntimeException.isBlank(param, null, "参数不能为空");
|
|
|
String sceneCode = param.getSceneCode();
|
|
|
+ BaseRuntimeException.isBlank(sceneCode, null, "场景码参数不能为空");
|
|
|
String basePath = configConstant.serverBasePath +"/data/" + sceneCode;
|
|
|
|
|
|
// 处理someData.json
|
|
@@ -169,7 +169,7 @@ public class SceneServiceImpl extends ServiceImpl<SceneMapper,SceneEntity> imple
|
|
|
doDataJs(param.getHots(), basePath);
|
|
|
|
|
|
|
|
|
- return null;
|
|
|
+ return Result.success();
|
|
|
}
|
|
|
|
|
|
private void doSomeData(SceneDataDto param, String sceneCode, String basePath) {
|