From 147ae772497e802e49051af2030c8dccfb142bff Mon Sep 17 00:00:00 2001 From: zhangsz Date: Fri, 13 Jun 2025 16:18:16 +0800 Subject: [PATCH] feat: mf parameter config add email and mobile syntax --- config/param/mf_param_config.yaml | 34 ++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/config/param/mf_param_config.yaml b/config/param/mf_param_config.yaml index 53d080ac..66ce8df6 100644 --- a/config/param/mf_param_config.yaml +++ b/config/param/mf_param_config.yaml @@ -35,13 +35,27 @@ mf: filter: "^[0-9]{4,8}$" display: "Name" comment: "" - - name: "password" + - name: "online" + type: "bool" + value: "false" + access: "read-only" + filter: '{"0":"false", "1":"true"}' + display: "Online Status" + comment: "Online Status" + - name: "email" type: "string" value: "" - access: "read-only" + access: "read-write" filter: "" - display: "Password" - comment: "do not display" + display: "Email" + comment: "email" + - name: "mobile" + type: "regex" + value: "" + access: "read-write" + filter: "^[0-9]{4,20}$" + display: "Mobile" + comment: "mobile" - name: "domain" type: "string" value: "" @@ -49,10 +63,10 @@ mf: filter: "" display: "Domain" comment: "ip:port" - - name: "onlineStatus" - type: "bool" - value: "false" + - name: "password" + type: "string" + value: "" access: "read-only" - filter: '{"0":"false", "1":"true"}' - display: "Online Status" - comment: "Online Status" + filter: "" + display: "Password" + comment: "do not display"