Skip to content

Commit

Permalink
feat:流水线插件自定义前端框架,支持使用插件私有配置 TencentBlueKing#4600
Browse files Browse the repository at this point in the history
  • Loading branch information
carlyin0801 committed Jul 16, 2021
1 parent 6d32621 commit efff6de
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,11 @@ class UserSensitiveConfServiceImpl @Autowired constructor(
)
}
val fieldType = sensitiveConfReq.fieldType
val fieldValueEncrypted = if (fieldType == FieldTypeEnum.BACKEND.name) {
// 对字段值进行加密
if (fieldValue == aesMock) {
null
} else {
AESUtil.encrypt(aesKey, fieldValue)
}
val fieldValueEncrypted = if (fieldValue == aesMock) {
null
} else {
if (fieldValue == aesMock) {
null
if (fieldType == FieldTypeEnum.BACKEND.name) {
AESUtil.encrypt(aesKey, fieldValue)
} else {
fieldValue
}
Expand Down

0 comments on commit efff6de

Please sign in to comment.