| | |
| | | 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; |
| | |
| | | import com.java110.utils.util.StringUtil; |
| | | import com.java110.vo.ResultVo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | |
| | | */ |
| | | |
| | | @RequestMapping(path = "/callComponent/{api}") |
| | | @Java110Lang |
| | | public ResponseEntity<String> callApi( |
| | | @PathVariable String api, |
| | | //@RequestBody String info, |
| | |
| | | */ |
| | | |
| | | @RequestMapping(path = "/callComponent/{componentCode}/{componentMethod}") |
| | | @Java110Lang |
| | | public ResponseEntity<String> callComponent( |
| | | @PathVariable String componentCode, |
| | | @PathVariable String componentMethod, |
| | |
| | | */ |
| | | |
| | | @RequestMapping(path = "/callComponent/upload/{componentCode}/{componentMethod}") |
| | | @Java110Lang |
| | | public ResponseEntity<String> callComponentUploadFile( |
| | | @PathVariable String componentCode, |
| | | @PathVariable String componentMethod, |
| | |
| | | */ |
| | | |
| | | @RequestMapping(path = "/callComponent/download/{componentCode}/{componentMethod}") |
| | | @Java110Lang |
| | | public ResponseEntity<Object> callComponentDownloadFile( |
| | | @PathVariable String componentCode, |
| | | @PathVariable String componentMethod, |