优化发布群配置与二维码池界面
This commit is contained in:
@@ -208,3 +208,17 @@ func (s *Service) UpdateAutoWelcomeMessage(ctx context.Context, message string)
|
||||
}
|
||||
return s.repo.UpdateAutoWelcomeMessage(ctx, message)
|
||||
}
|
||||
|
||||
func (s *Service) GetListingGroupWelcomeMessage(ctx context.Context) string {
|
||||
if s.repo == nil {
|
||||
return ""
|
||||
}
|
||||
return s.repo.GetListingGroupWelcomeMessage(ctx)
|
||||
}
|
||||
|
||||
func (s *Service) UpdateListingGroupWelcomeMessage(ctx context.Context, message string) error {
|
||||
if s.repo == nil {
|
||||
return ErrDependencyUnavailable
|
||||
}
|
||||
return s.repo.UpdateListingGroupWelcomeMessage(ctx, message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user