diff --git a/portal-manager/pom.xml b/portal-manager/pom.xml index 26a2de5edabc4a85b3269e43217175ae210a54be..0b7c69bd149fb12fa64b542a6c72f91001ad5700 100644 --- a/portal-manager/pom.xml +++ b/portal-manager/pom.xml @@ -17,9 +17,6 @@ <profiles> <profile> <id>develop</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> <properties> <profiles.active>develop</profiles.active> <profiles.queue.type>rabbitmq</profiles.queue.type> @@ -39,6 +36,9 @@ </profile> <profile> <id>test</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> <properties> <profiles.active>test</profiles.active> <profiles.server.path>/zwfw</profiles.server.path> diff --git a/portal-manager/src/main/java/com/mortals/xhx/module/page/web/PageInfoController.java b/portal-manager/src/main/java/com/mortals/xhx/module/page/web/PageInfoController.java index a945f4df3e25b522131473b8531dbf06bb25149c..8aefceb3b9bed080ec6af1ef9af18a04dbe403eb 100644 --- a/portal-manager/src/main/java/com/mortals/xhx/module/page/web/PageInfoController.java +++ b/portal-manager/src/main/java/com/mortals/xhx/module/page/web/PageInfoController.java @@ -61,9 +61,10 @@ public class PageInfoController extends BaseCRUDJsonBodyMappingController<PageIn model.put("data", result.getData().getData()); model.put("pageInfo", result.getData().getPageInfo()); model.put("dict", result.getData().getDict()); + model.put("message_info", busiDesc + "鎴愬姛"); + }else { + model.put("message_info", result.getMsg()); } - - model.put("message_info", busiDesc + "鎴愬姛"); this.recordSysLog(this.request, busiDesc + " 銆愭垚鍔熴€�"); } catch (Exception var9) { code = -1; diff --git a/portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml b/portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml index 4a1880eac9daa0ad88224d7c58e10d20ef49e405..8f17f2fb52f9f66c7e5dcfd6d9fc71f5d45c51bc 100644 --- a/portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml +++ b/portal-manager/src/main/resources/config/mybatis-sqlmap-config.xml @@ -16,5 +16,7 @@ <property name="dialect" value="MySql" /> <property name="showSql" value="MySql" /> </plugin> + <plugin interceptor="com.mortals.framework.thirty.mybatis.LogInterceptor"> + </plugin> </plugins> </configuration> \ No newline at end of file