feat: 接入消息加密与实名认证能力
This commit is contained in:
@@ -228,6 +228,12 @@ type ThirdPartyConfigAdapter interface {
|
||||
ThirdPartyConfig(group string, keys ...string) (map[string]string, error)
|
||||
}
|
||||
|
||||
// RealNamePolicyConfigAdapter reads tenant-level real-name review policy from
|
||||
// the control database.
|
||||
type RealNamePolicyConfigAdapter interface {
|
||||
RealNamePolicy(t.TenantID) (*t.RealNamePolicy, error)
|
||||
}
|
||||
|
||||
// TenantEntryAdapter stores public tenant entry data before a user is authenticated.
|
||||
type TenantEntryAdapter interface {
|
||||
PublicUploadCreate(*t.PublicUpload) (*t.PublicUpload, error)
|
||||
|
||||
Reference in New Issue
Block a user