refactor(metadata): 隐藏短信渠道字段以满足业务脱敏需求
- 将order_digit.sms_channel字段标记为隐藏,前端和导出不再展示 - 从白名单中移除order_digit.sms_channel字段,确保不再允许导出 - 更新相关标签注释,明确字段不再对外展示和导出
This commit is contained in:
parent
5c143616d5
commit
1dd006b09c
|
|
@ -510,7 +510,8 @@ func ymtMetadataTables() []tableInfo {
|
||||||
{Key: "order_digit.create_time", Field: "create_time", Label: "创建时间", Hidden: false},
|
{Key: "order_digit.create_time", Field: "create_time", Label: "创建时间", Hidden: false},
|
||||||
{Key: "order_digit.update_time", Field: "update_time", Label: "更新时间", Hidden: false},
|
{Key: "order_digit.update_time", Field: "update_time", Label: "更新时间", Hidden: false},
|
||||||
{Key: "order_digit.code", Field: "code", Label: "验证码", Hidden: false},
|
{Key: "order_digit.code", Field: "code", Label: "验证码", Hidden: false},
|
||||||
{Key: "order_digit.sms_channel", Field: "sms_channel", Label: "短信渠道", Hidden: false},
|
// 短信渠道字段仅用于内部排查,前端和导出不再展示
|
||||||
|
{Key: "order_digit.sms_channel", Field: "sms_channel", Label: "短信渠道", Hidden: true},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ func AllWhitelist() map[string]bool {
|
||||||
"order_digit.create_time": true,
|
"order_digit.create_time": true,
|
||||||
"order_digit.update_time": true,
|
"order_digit.update_time": true,
|
||||||
"order_digit.code": true,
|
"order_digit.code": true,
|
||||||
"order_digit.sms_channel": true,
|
// "order_digit.sms_channel" 不再允许导出,出于业务脱敏需求从白名单移除
|
||||||
"goods_voucher_batch.channel_batch_no": true,
|
"goods_voucher_batch.channel_batch_no": true,
|
||||||
"goods_voucher_batch.voucher_subject_id": true,
|
"goods_voucher_batch.voucher_subject_id": true,
|
||||||
"goods_voucher_batch.id": true,
|
"goods_voucher_batch.id": true,
|
||||||
|
|
@ -376,7 +376,7 @@ func AllLabels() map[string]string {
|
||||||
"order_digit.create_time": "创建时间",
|
"order_digit.create_time": "创建时间",
|
||||||
"order_digit.update_time": "更新时间",
|
"order_digit.update_time": "更新时间",
|
||||||
"order_digit.code": "验证码",
|
"order_digit.code": "验证码",
|
||||||
"order_digit.sms_channel": "短信渠道",
|
// "order_digit.sms_channel": "短信渠道", // 字段不再对外展示和导出
|
||||||
"goods_voucher_batch.channel_batch_no": "渠道批次号",
|
"goods_voucher_batch.channel_batch_no": "渠道批次号",
|
||||||
"goods_voucher_batch.voucher_subject_id": "主体配置ID",
|
"goods_voucher_batch.voucher_subject_id": "主体配置ID",
|
||||||
"goods_voucher_batch.id": "ID",
|
"goods_voucher_batch.id": "ID",
|
||||||
|
|
|
||||||
BIN
server/server
BIN
server/server
Binary file not shown.
|
|
@ -1,8 +0,0 @@
|
||||||
connecting YMT MySQL: 47.97.27.195:3306 db merketing user root
|
|
||||||
connecting Marketing MySQL: 192.168.6.92:3306 db market user root
|
|
||||||
connecting Meta MySQL (templates/jobs): 47.97.27.195:3306 db merketing user root
|
|
||||||
server listening on :8077
|
|
||||||
{"bytes":9873,"duration_ms":0,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-12-17T15:51:04+08:00"}
|
|
||||||
{"bytes":6169,"duration_ms":98,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-12-17T15:51:04+08:00"}
|
|
||||||
{"bytes":1888,"duration_ms":95,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-12-17T15:51:07+08:00"}
|
|
||||||
{"bytes":505,"duration_ms":88,"kind":"access","level":"INFO","method":"","path":"","query":"","remote":"","status":200,"trace_id":"","ts":"2025-12-17T15:51:07+08:00"}
|
|
||||||
Loading…
Reference in New Issue