From e8b892dfed1afd907b7d257e42bbd15bb40db5c6 Mon Sep 17 00:00:00 2001 From: 侯瑞军 <411269194@kidgrow.com> Date: Fri, 03 Apr 2020 15:32:29 +0800 Subject: [PATCH] 1.为所有的生成的*Mapper.xml文件中的findbyobject增加 limit 1代码 2.为所有的*Mapper.java文件中的 findbyobject方法的参数增加前缀 @Param("p") 3.调整了organization 以及userorg的实体引用(从common中的model中引用) --- kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml index f62507f..a55e0f0 100644 --- a/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml +++ b/kidgrow-springcloud/kidgrow-springcloud-zuul/src/main/resources/application.yml @@ -1,6 +1,6 @@ spring: application: - name: zull-server + name: zuul-server server: tomcat: uri-encoding: UTF-8 @@ -97,6 +97,12 @@ strip-prefix: true sensitive-headers: '*' custom-sensitive-headers: true + oprationcenter: + path: /api-opration/** + service-id: oprationcenter-server + strip-prefix: true + sensitive-headers: '*' + custom-sensitive-headers: true demo-order: path: /api-order/** service-id: demo-order-server -- Gitblit v1.8.0