Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzou
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzou
提交
48635f8c
提交
48635f8c
编写于
5年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_qyk 发布系统代码
上级
f14f4ed8
变更
9
显示空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
112 行增加
和
184 行删除
+112
-184
app-register.ts
app_web/src/app-register.ts
+2
-0
app-org-select.less
app_web/src/components/app-org-select/app-org-select.less
+3
-0
app-org-select.vue
app_web/src/components/app-org-select/app-org-select.vue
+55
-0
DevBootApplication.java
ibzou-boot/src/main/java/cn/ibizlab/DevBootApplication.java
+6
-0
h2_table.xml
ibzou-core/src/main/resources/liquibase/h2_table.xml
+4
-181
IBZDepartmentResource.java
.../main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
+1
-1
IBZEmployeeResource.java
...rc/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
+1
-1
IBZOrganizationResource.java
...ain/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
+1
-1
FeignRequestInterceptor.java
...ain/java/cn/ibizlab/util/web/FeignRequestInterceptor.java
+39
-0
未找到文件。
app_web/src/app-register.ts
浏览文件 @
48635f8c
...
...
@@ -71,6 +71,7 @@ import AppUploadFileInfo from './components/app-upload-file-info/app-upload-file
import
ContextMenu
from
'./components/context-menu/context-menu'
import
AppColumnFormat
from
'./components/app-column-format/app-column-format.vue'
import
AppQuickGroup
from
'./components/app-quick-group/app-quick-group.vue'
import
AppOrgSelect
from
'./components/app-org-select/app-org-select.vue'
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
...
...
@@ -151,5 +152,6 @@ export const AppComponents = {
v
.
component
(
'context-menu'
,
ContextMenu
);
v
.
component
(
'app-column-format'
,
AppColumnFormat
);
v
.
component
(
'app-quick-group'
,
AppQuickGroup
);
v
.
component
(
'app-org-select'
,
AppOrgSelect
);
},
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_web/src/components/app-org-select/app-org-select.less
0 → 100644
浏览文件 @
48635f8c
.app-org-select {
width: 100%;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_web/src/components/app-org-select/app-org-select.vue
0 → 100644
浏览文件 @
48635f8c
<
template
>
<div
class=
"app-org-select"
>
<ibiz-select-tree
:NodesData=
"NodesData"
v-model=
"selectTreeValue"
:multiple=
"true"
></ibiz-select-tree>
</div>
</
template
>
<
script
lang =
'ts'
>
import
{
Vue
,
Component
,
Prop
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppOrgSelect
extends
Vue
{
/**
* 填充对象
*
* @memberof AppOrgSelect
*/
@
Prop
()
public
fillMap
:
any
;
/**
* 过滤项
*
* @memberof AppOrgSelect
*/
@
Prop
()
public
filter
?:
string
;
/**
* 选择值
*
* @memberof AppOrgSelect
*/
public
selectTreeValue
:
any
;
/**
* 树数据
*
* @memberof AppOrgSelect
*/
public
NodesData
:
any
=
[{
"children"
:[],
"disabled"
:
false
,
"isLeaf"
:
true
,
"id"
:
"001"
,
"label"
:
"中建材信息技术股份有限公司"
,
"code"
:
"001"
,
"level"
:
null
,
"filter"
:[
"001"
]},{
"children"
:[{
"children"
:[],
"disabled"
:
false
,
"isLeaf"
:
true
,
"id"
:
"450100"
,
"label"
:
"北京"
,
"code"
:
"450100"
,
"level"
:
4501
,
"filter"
:[
"450000"
,
"450100"
]},{
"children"
:[],
"disabled"
:
false
,
"isLeaf"
:
true
,
"id"
:
"450200"
,
"label"
:
"上海"
,
"code"
:
"450200"
,
"level"
:
null
,
"filter"
:[
"450000"
,
"450200"
]}],
"disabled"
:
false
,
"isLeaf"
:
false
,
"id"
:
"450000"
,
"label"
:
"总部"
,
"code"
:
"450000"
,
"level"
:
45
,
"filter"
:[
"450000"
]},{
"children"
:[],
"disabled"
:
false
,
"isLeaf"
:
true
,
"id"
:
"002"
,
"label"
:
"某某客户公司"
,
"code"
:
"002"
,
"level"
:
null
,
"filter"
:[
"002"
]}];
/**
* vue生命周期
*
* @memberof AppOrgSelect
*/
public
created
(){
console
.
log
(
this
.
fillMap
);
console
.
log
(
this
.
filter
);
}
}
</
script
>
<
style
lang=
"less"
>
@import "./app-org-select.less";
</
style
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ibzou-boot/src/main/java/cn/ibizlab/DevBootApplication.java
浏览文件 @
48635f8c
...
...
@@ -10,6 +10,7 @@ import org.springframework.boot.SpringApplication;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.web.method.support.HandlerMethodArgumentResolver
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
;
import
org.springframework.context.annotation.ComponentScan
;
import
java.util.List
;
@Slf4j
...
...
@@ -20,6 +21,11 @@ import java.util.List;
@SpringBootApplication
(
exclude
=
{
org
.
springframework
.
boot
.
autoconfigure
.
mongo
.
MongoAutoConfiguration
.
class
,
})
@ComponentScan
(
basePackages
=
{
"cn.ibizlab"
}
// ,excludeFilters={
// @ComponentScan.Filter(type= org.springframework.context.annotation.FilterType.REGEX,pattern="cn.ibizlab.xxx.rest.xxx"),
// }
)
@Import
({
org
.
springframework
.
cloud
.
openfeign
.
FeignClientsConfiguration
.
class
})
...
...
This diff is collapsed.
Click to expand it.
ibzou-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
48635f8c
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext=
"http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"
>
<!--输出实体[IBZORG]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzorg-429-1"
>
<createTable
tableName=
"IBZORG"
>
<column
name=
"ORGID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZORG_ORGID"
/>
</column>
<column
name=
"ORGCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PORGID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"SHORTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGLEVEL"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"SHOWORDER"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"ENABLE"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</createTable>
</changeSet>
<!--输出实体[IBZEMP]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzemp-623-2"
>
<createTable
tableName=
"IBZEMP"
>
<column
name=
"USERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZEMP_USERID"
/>
</column>
<column
name=
"USERNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PERSONNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"USERCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"LOGINNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PASSWORD"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"DOMAINS"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"MDEPTID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"MDEPTCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"MDEPTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"BCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"POSTID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"POSTCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"POSTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"NICKNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"SEX"
remarks=
""
type=
"VARCHAR(20)"
>
</column>
<column
name=
"CERTCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PHONE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"BIRTHDAY"
remarks=
""
type=
"DATETIME"
>
</column>
<column
name=
"EMAIL"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"AVATAR"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ADDR"
remarks=
""
type=
"VARCHAR(255)"
>
</column>
<column
name=
"USERICON"
remarks=
""
type=
"VARCHAR(255)"
>
</column>
<column
name=
"IPADDR"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"THEME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"LANG"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"FONTSIZE"
remarks=
""
type=
"VARCHAR(10)"
>
</column>
<column
name=
"MEMO"
remarks=
""
type=
"VARCHAR(255)"
>
</column>
<column
name=
"RESERVER"
remarks=
""
type=
"VARCHAR(255)"
>
</column>
<column
name=
"SHOWORDER"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"ENABLE"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</createTable>
</changeSet>
<!--输出实体[IBZDEPTMEMBER]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdeptmember-28-3"
>
<createTable
tableName=
"IBZDEPTMEMBER"
>
<column
name=
"MEMBERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZDEPTMEMBER_MEMBERID"
/>
</column>
<column
name=
"DEPTID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"USERID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</changeSet>
<!--输出实体[IBZDEPT]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-ibzdept-561-4"
>
<createTable
tableName=
"IBZDEPT"
>
<column
name=
"DEPTID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBZDEPT_DEPTID"
/>
</column>
<column
name=
"DEPTCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"DEPTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ORGID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PDEPTID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"SHORTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"DEPTLEVEL"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"SHOWORDER"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"BCODE"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"LEADERID"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"LEADERNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"ENABLE"
remarks=
""
type=
"INT"
>
</column>
<column
name=
"CREATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
</createTable>
</changeSet>
<!--输出实体[IBZORG]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzorg-429-5"
>
<addForeignKeyConstraint
baseColumnNames=
"PORGID"
baseTableName=
"IBZORG"
constraintName=
"DER1N_IBZORG_IBZORG_PORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZEMP]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-623-6"
>
<addForeignKeyConstraint
baseColumnNames=
"MDEPTID"
baseTableName=
"IBZEMP"
constraintName=
"DER1N_IBZEMP_IBZDEPT_MDEPTID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzemp-623-7"
>
<addForeignKeyConstraint
baseColumnNames=
"ORGID"
baseTableName=
"IBZEMP"
constraintName=
"DER1N_IBZEMP_IBZORG_ORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZDEPTMEMBER]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-28-8"
>
<addForeignKeyConstraint
baseColumnNames=
"DEPTID"
baseTableName=
"IBZDEPTMEMBER"
constraintName=
"DER1N_IBZDEPTMEMBER_IBZDEPT_DE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdeptmember-28-9"
>
<addForeignKeyConstraint
baseColumnNames=
"USERID"
baseTableName=
"IBZDEPTMEMBER"
constraintName=
"DER1N_IBZDEPTMEMBER_IBZEMP_USE"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"USERID"
referencedTableName=
"IBZEMP"
validate=
"true"
/>
</changeSet>
<!--输出实体[IBZDEPT]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-561-10"
>
<addForeignKeyConstraint
baseColumnNames=
"PDEPTID"
baseTableName=
"IBZDEPT"
constraintName=
"DER1N_IBZDEPT_IBZDEPT_PDEPTID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"DEPTID"
referencedTableName=
"IBZDEPT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-ibzdept-561-11"
>
<addForeignKeyConstraint
baseColumnNames=
"ORGID"
baseTableName=
"IBZDEPT"
constraintName=
"DER1N_IBZDEPT_IBZORG_ORGID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ORGID"
referencedTableName=
"IBZORG"
validate=
"true"
/>
</changeSet>
</databaseChangeLog>
!!!!模版产生代码错误:----
FTL stack trace ("~" means nesting-related):
- Failed at: #if de.getAllPSDEDBConfigs()??
&&
de... [in template "CODETEMPL_zh_CN" at line 14, column 5]
----
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZDepartmentResource.java
浏览文件 @
48635f8c
...
...
@@ -97,7 +97,7 @@ public class IBZDepartmentResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"has
AnyAuthority('ROLE_SUPERADMIN','ibzou-IBZDepartment-CheckKey-all'
)"
)
@PreAuthorize
(
"has
Permission('','checkkey',{'Sql',this.ibzdepartmentMapping,#ibzdepartmentdto}
)"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"IBZDepartment"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzdepartments/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
IBZDepartmentDTO
ibzdepartmentdto
)
{
...
...
This diff is collapsed.
Click to expand it.
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZEmployeeResource.java
浏览文件 @
48635f8c
...
...
@@ -100,7 +100,7 @@ public class IBZEmployeeResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@PreAuthorize
(
"has
AnyAuthority('ROLE_SUPERADMIN','ibzou-IBZEmployee-CheckKey-all'
)"
)
@PreAuthorize
(
"has
Permission('','checkkey',{'Sql',this.ibzemployeeMapping,#ibzemployeedto}
)"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"IBZEmployee"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzemployees/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
IBZEmployeeDTO
ibzemployeedto
)
{
...
...
This diff is collapsed.
Click to expand it.
ibzou-provider/ibzou-provider-api/src/main/java/cn/ibizlab/api/rest/IBZOrganizationResource.java
浏览文件 @
48635f8c
...
...
@@ -54,7 +54,7 @@ public class IBZOrganizationResource {
public
IBZOrganizationDTO
permissionDTO
=
new
IBZOrganizationDTO
();
@PreAuthorize
(
"has
AnyAuthority('ROLE_SUPERADMIN','ibzou-IBZOrganization-CheckKey-all'
)"
)
@PreAuthorize
(
"has
Permission('','checkkey',{'Sql',this.ibzorganizationMapping,#ibzorganizationdto}
)"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"IBZOrganization"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/ibzorganizations/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
IBZOrganizationDTO
ibzorganizationdto
)
{
...
...
This diff is collapsed.
Click to expand it.
ibzou-util/src/main/java/cn/ibizlab/util/web/FeignRequestInterceptor.java
0 → 100644
浏览文件 @
48635f8c
package
cn
.
ibizlab
.
util
.
web
;
import
feign.RequestInterceptor
;
import
feign.RequestTemplate
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.context.request.RequestContextHolder
;
import
org.springframework.web.context.request.ServletRequestAttributes
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.Enumeration
;
/**
* feign请求拦截器
* 拦截所有使用feign发出的请求,附加原始请求Header参数及Token
*/
@Configuration
public
class
FeignRequestInterceptor
implements
RequestInterceptor
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
@Override
public
void
apply
(
RequestTemplate
requestTemplate
)
{
ServletRequestAttributes
requestAttributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
if
(
requestAttributes
!=
null
){
HttpServletRequest
request
=
requestAttributes
.
getRequest
();
Enumeration
<
String
>
headerNames
=
request
.
getHeaderNames
();
if
(
headerNames
!=
null
)
{
while
(
headerNames
.
hasMoreElements
())
{
String
name
=
headerNames
.
nextElement
();
String
values
=
request
.
getHeader
(
name
);
requestTemplate
.
header
(
name
,
values
);
}
logger
.
info
(
"feign interceptor header:{}"
,
requestTemplate
);
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录