From dd97f2626579ca8be69b9b6d68ce9d592b62eb6a Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 22 十二月 2023 15:03:26 +0800 Subject: [PATCH] 使用系统设置修改 --- constvar/const.go | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 40 insertions(+), 7 deletions(-) diff --git a/constvar/const.go b/constvar/const.go index cd33794..c81270e 100644 --- a/constvar/const.go +++ b/constvar/const.go @@ -32,13 +32,6 @@ UserTypeSub // 瀛愯处鎴� ) -type NotAdmin int - -const ( - NotAdminAll NotAdmin = iota // 鍏捣 - NotAdminYes // 鎴戠殑瀹㈡埛 -) - type SalesStatus int const ( @@ -214,3 +207,43 @@ const ( SystemType = 2 ) + +// ModeType 妯″潡绫诲瀷 +type ModeType string + +const ( + BjdMode ModeType = "bjd" + XsmxMode ModeType = "xsmx" +) + +var SystemSet = map[string]interface{}{ + "CRM": map[string]interface{}{ + "鎶ヤ环鍗曟槸鍚﹀繀椤诲叧鑱旈攢鍞満浼�": map[string]interface{}{ + "value": "鏄�", + "type": "select", + "select": map[string]string{ + "1": "鏄�", + "2": "鍚�", + }, + "modeType": "bjd", + }, + "閿�鍞槑缁嗗崟鏄惁蹇呴』鍏宠仈鎶ヤ环鍗�": map[string]interface{}{ + "value": "鏄�", + "type": "select", + "select": map[string]string{ + "1": "鏄�", + "2": "鍚�", + }, + "modeType": "xsmx", + }, + "閿�鍞槑缁嗗崟鏄惁蹇呴』鍏宠仈涓氬姟鏈轰細": map[string]interface{}{ + "value": "鏄�", + "type": "select", + "select": map[string]string{ + "1": "鏄�", + "2": "鍚�", + }, + "modeType": "xsmx", + }, + }, +} -- Gitblit v1.8.0