p4组件-字符加密
POST
请求参数
参数名
类型
描述
必填
id
int
组件id
必填
code
string
组件code:preparation_value_encryption
必填
parents
string
父组件 多个逗号隔开
必填
children
string
子组件多个 逗号隔开
必填
field
string
处理字段名
必填
opt_type
string
加密方式: hash:hash加密 fixed:固定填充 offset:偏移值加密
必填
deal_type
string
处理方式: new:新增 replace:替换
必填
new_name
string
新增字段名
可选
method
string
算法类型: md5: hash MD5算法 sha1: hash SHA1算法 sha2: hash SHA2算法
必填
position
string
定位逻辑 start:从前填充 end:从后填充 user:自定义填充
必填
fix_value
string
替换值
必填
length
int
填充长度
可选
end
int
自定义填充结束位
可选
start
int
自定义填充开始位置
可选
name
string
组件名称,组件说明的描述字段
必填