From be1b20692e5f0b48cb6b31b1231ef3ac8660e6ea Mon Sep 17 00:00:00 2001 From: shicf <shi_chongfu@163.com> Date: 星期二, 25 三月 2025 13:19:22 +0800 Subject: [PATCH] 移动端 --- src/main/java/com/product/mobile/core/controller/CommonMVCController.java | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/product/mobile/core/controller/CommonMVCController.java b/src/main/java/com/product/mobile/core/controller/CommonMVCController.java index ad82496..209dde8 100644 --- a/src/main/java/com/product/mobile/core/controller/CommonMVCController.java +++ b/src/main/java/com/product/mobile/core/controller/CommonMVCController.java @@ -92,4 +92,30 @@ return this.error(MobileCoreCode.GET_ROUTER_FAIL); } } + /** + * 鎵ц绉诲姩绔�佹潵鐨勮〃杈惧紡鍒版暟鎹簱涓墽琛岋紝寰楀埌缁撴灉杩斿洖 + * + * @param request + * @return + */ + @RequestMapping(value = "/excute-exp/{version}", method = RequestMethod.POST) + @ApiVersion(1) + public String excuteExp(HttpServletRequest request) { + FieldSetEntity fse = null; + Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); + if (bean != null) { + RequestParameterEntity reqp = (RequestParameterEntity) bean; + fse = reqp.getFormData(); + } + try { + return result_OK_List(commonMVCService.excuteExp(fse.getString("exp"))); + } catch (BaseException e) { + e.printStackTrace(); + return this.error(e); + } catch (Exception e) { + e.printStackTrace(); + return this.error(MobileCoreCode.GET_ROUTER_FAIL); + } + } + } -- Gitblit v1.9.2