From 1a7863e9411ba2525dc7ac1d07582ac4c2a697de Mon Sep 17 00:00:00 2001 From: what Date: Fri, 21 Apr 2023 17:36:35 +0800 Subject: [PATCH] [fix] ResRole struct --- base/res_role.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/res_role.go b/base/res_role.go index 83823da..49d2687 100644 --- a/base/res_role.go +++ b/base/res_role.go @@ -1,7 +1,7 @@ package base type ResRole struct { - Uuid string `db:"id"` + Uuid string `db:"uuid"` ResUuid string `db:"resource_uuid"` RoleUuid string `db:"role_uuid"` UpdatedAt string `db:"updated_at"`