add access_list methods

This commit is contained in:
DeniskaRediska committed 2019-11-11 19:21:55 +03:00
1 parent 8a0ebe803a
commit f215008349
20 files changed
+1511 -141

No files matched your search

+7
View File
@@ -58,3 +58,10 @@ type Token struct {
ExpireTime int64
CreatedAt time.Time
}
type AccessList struct {
TableName string `sql:"system_service.access_list" json:"-"`
AppId int32 `sql:",pk"`
Method string `sql:",pk"`
Value bool
}