From ac3759b8e17792a51b41e107fb411cfe9ec5a8bc Mon Sep 17 00:00:00 2001 From: what Date: Sun, 23 Apr 2023 11:09:41 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E6=95=B0=E6=8D=AE=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/data_list.go | 1 + base/res_api.go | 1 + 2 files changed, 2 insertions(+) diff --git a/base/data_list.go b/base/data_list.go index 67bfdce..caea555 100644 --- a/base/data_list.go +++ b/base/data_list.go @@ -37,6 +37,7 @@ type DataList struct { ApprovalConfig res_type.ResFieldByAnys `db:"approvalConfig"` // 审批设置 UniqueImportFields res_type.ResFieldByAnys `db:"uniqueImportFields"` // 导入字段唯一效验 Roles res_type.ResFieldByAnys `db:"roles"` // 列表权限 + IsAuthDB int `db:"is_auth_db"` // 启用权限过滤 UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` } diff --git a/base/res_api.go b/base/res_api.go index 7c9a98d..745dfd8 100644 --- a/base/res_api.go +++ b/base/res_api.go @@ -15,6 +15,7 @@ type ResApi struct { Category string `db:"action"` Params res_type.ResFieldByAnys `db:"params"` Roles res_type.ResFieldByAnys `db:"roles"` + IsAuthDB int `db:"is_auth_db"` // 启用权限过滤 UpdatedAt string `db:"updated_at"` CreatedAt string `db:"created_at"` }