From 5e43d983330ef1010351f532625bfb38737c0972 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 12 Aug 2024 10:57:55 +0800 Subject: [PATCH 1/2] 1 --- bin/adminserver/config/users.json | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/bin/adminserver/config/users.json b/bin/adminserver/config/users.json index 884519a0..85676fe7 100644 --- a/bin/adminserver/config/users.json +++ b/bin/adminserver/config/users.json @@ -33,5 +33,41 @@ "api": ["xxx", "-xxx"], "ui": ["addannouncement", "editannouncement", "addaudit", "editaudit"] } + }, + { + "account_address": "0x93705ddc34eb7923efa8fdae812fbe4476cfb55d", + "__doc__": "jc", + "roles": [ + "admin", + "customer_service" + ], + "special": { + "api": ["xxx", "-xxx"], + "ui": ["addannouncement", "editannouncement", "addaudit", "editaudit"] + } + }, + { + "account_address": "0x93705ddc34eb7923efa8fdae812fbe4476cfb55d", + "__doc__": "jc", + "roles": [ + "admin", + "customer_service" + ], + "special": { + "api": ["xxx", "-xxx"], + "ui": ["addannouncement", "editannouncement", "addaudit", "editaudit"] + } + }, + { + "account_address": "0x210b8b648220a4C7e1bbE508C7B9723E2eCdec24", + "__doc__": "slf", + "roles": [ + "admin", + "customer_service" + ], + "special": { + "api": ["xxx", "-xxx"], + "ui": ["addannouncement", "editannouncement", "addaudit", "editaudit"] + } } ] From 488491c5132b497924a8d6f56438e1b72040b605 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 12 Aug 2024 11:04:53 +0800 Subject: [PATCH 2/2] 1 --- server/adminserver/api/v1/system/mail.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/adminserver/api/v1/system/mail.go b/server/adminserver/api/v1/system/mail.go index a1e1f401..f0b15536 100644 --- a/server/adminserver/api/v1/system/mail.go +++ b/server/adminserver/api/v1/system/mail.go @@ -30,7 +30,7 @@ func (this *MailApi) ListMail(c *gin.Context) { return } orderBy := "" - sql := "SELECT * FROM t_mail WHERE 1=1 and unikey is not null " + sql := fmt.Sprintf("SELECT * FROM t_mail WHERE 1=1 AND tag1 = %d unikey is not null ", jccommon.MAIL_TAG1_CUSTOM) subFilters := []f5.DbQueryFilter{ f5.GetDbFilter().Custom("deleted = 0").And(), }