增加多租户隔离初版

This commit is contained in:
dushixiang
2021-01-13 20:09:48 +08:00
parent e00453cbad
commit 499dd3ab85
7 changed files with 96 additions and 10 deletions

View File

@ -20,6 +20,7 @@ type Credential struct {
PrivateKey string `json:"privateKey"`
Passphrase string `json:"passphrase"`
Created utils.JsonTime `json:"created"`
Creator string `json:"creator"`
}
func (r *Credential) TableName() string {