|
@@ -25,8 +25,8 @@ import java.io.IOException;
|
|
|
@RequestMapping("/service/scene/edit")
|
|
|
public class SceneEditController extends BaseController {
|
|
|
|
|
|
- @Value("${spring.profiles.active}")
|
|
|
- private String env;
|
|
|
+// @Value("${spring.profiles.active}")
|
|
|
+// private String env;
|
|
|
|
|
|
@Autowired
|
|
|
private ISceneProService sceneProService;
|
|
@@ -611,22 +611,22 @@ public class SceneEditController extends BaseController {
|
|
|
return sceneEditService.getAuth(num, this.getSsoUser());
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * <p>
|
|
|
- 上传国际化文件
|
|
|
- * </p>
|
|
|
- * @author dengsixing
|
|
|
- * @date 2022/4/11
|
|
|
- * @param param
|
|
|
- * @return com.fdkankan.web.response.ResultData
|
|
|
- **/
|
|
|
- @PostMapping(value = "/locales")
|
|
|
- public ResultData locales(@RequestBody @Validated LocalesParamVO param) throws Exception {
|
|
|
- if("pro".equals(env)){
|
|
|
- throw new BusinessException(ErrorCode.HAVE_NO_RIGHT);
|
|
|
- }
|
|
|
- return sceneEditService.locales(param);
|
|
|
- }
|
|
|
+// /**
|
|
|
+// * <p>
|
|
|
+// 上传国际化文件
|
|
|
+// * </p>
|
|
|
+// * @author dengsixing
|
|
|
+// * @date 2022/4/11
|
|
|
+// * @param param
|
|
|
+// * @return com.fdkankan.web.response.ResultData
|
|
|
+// **/
|
|
|
+// @PostMapping(value = "/locales")
|
|
|
+// public ResultData locales(@RequestBody @Validated LocalesParamVO param) throws Exception {
|
|
|
+// if("pro".equals(env)){
|
|
|
+// throw new BusinessException(ErrorCode.HAVE_NO_RIGHT);
|
|
|
+// }
|
|
|
+// return sceneEditService.locales(param);
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
|
* <p>
|