From e20c58a63d3827d9c55cd5f387568fb0916b9590 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期五, 17 三月 2023 23:37:12 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity
---
service-api/src/main/java/com/java110/api/controller/component/CallComponentController.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/service-api/src/main/java/com/java110/api/controller/component/CallComponentController.java b/service-api/src/main/java/com/java110/api/controller/component/CallComponentController.java
index dac84db..5a19962 100644
--- a/service-api/src/main/java/com/java110/api/controller/component/CallComponentController.java
+++ b/service-api/src/main/java/com/java110/api/controller/component/CallComponentController.java
@@ -20,6 +20,7 @@
import com.java110.core.base.controller.BaseController;
import com.java110.core.context.IPageData;
import com.java110.core.context.PageData;
+import com.java110.core.language.Java110Lang;
import com.java110.utils.constant.CommonConstant;
import com.java110.utils.exception.SMOException;
import com.java110.utils.factory.ApplicationContextFactory;
@@ -68,6 +69,7 @@
*/
@RequestMapping(path = "/callComponent/{api}")
+ @Java110Lang
public ResponseEntity<String> callApi(
@PathVariable String api,
//@RequestBody String info,
@@ -138,6 +140,7 @@
*/
@RequestMapping(path = "/callComponent/{componentCode}/{componentMethod}")
+ @Java110Lang
public ResponseEntity<String> callComponent(
@PathVariable String componentCode,
@PathVariable String componentMethod,
@@ -210,6 +213,7 @@
*/
@RequestMapping(path = "/callComponent/upload/{componentCode}/{componentMethod}")
+ @Java110Lang
public ResponseEntity<String> callComponentUploadFile(
@PathVariable String componentCode,
@PathVariable String componentMethod,
@@ -279,6 +283,7 @@
*/
@RequestMapping(path = "/callComponent/download/{componentCode}/{componentMethod}")
+ @Java110Lang
public ResponseEntity<Object> callComponentDownloadFile(
@PathVariable String componentCode,
@PathVariable String componentMethod,
--
Gitblit v1.8.0