code refactor

This commit is contained in:
MaysWind
2025-07-24 23:03:58 +08:00
parent c5aa37037f
commit d6ee8a416f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -849,7 +849,7 @@ func (s *AccountService) GetAccountNames(accounts []*models.Account) []string {
}
// GetAccountOrSubAccountIds returns a list of account ids or sub-account ids according to given account ids
func (s *AccountService) GetAccountOrSubAccountIds(c *core.WebContext, accountIds string, uid int64) ([]int64, error) {
func (s *AccountService) GetAccountOrSubAccountIds(c core.Context, accountIds string, uid int64) ([]int64, error) {
if accountIds == "" || accountIds == "0" {
return nil, nil
}