mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
优化代码
This commit is contained in:
@@ -61,7 +61,7 @@ func (this *ACMEProviderAccountService) FindAllACMEProviderAccountsWithProviderC
|
||||
Id: int64(account.Id),
|
||||
Name: account.Name,
|
||||
ProviderCode: account.ProviderCode,
|
||||
IsOn: account.IsOn == 1,
|
||||
IsOn: account.IsOn,
|
||||
EabKid: account.EabKid,
|
||||
EabKey: account.EabKey,
|
||||
Error: account.Error,
|
||||
@@ -137,7 +137,7 @@ func (this *ACMEProviderAccountService) FindEnabledACMEProviderAccount(ctx conte
|
||||
Id: int64(account.Id),
|
||||
Name: account.Name,
|
||||
ProviderCode: account.ProviderCode,
|
||||
IsOn: account.IsOn == 1,
|
||||
IsOn: account.IsOn,
|
||||
EabKid: account.EabKid,
|
||||
EabKey: account.EabKey,
|
||||
Error: account.Error,
|
||||
@@ -191,7 +191,7 @@ func (this *ACMEProviderAccountService) ListEnabledACMEProviderAccounts(ctx cont
|
||||
Id: int64(account.Id),
|
||||
Name: account.Name,
|
||||
ProviderCode: account.ProviderCode,
|
||||
IsOn: account.IsOn == 1,
|
||||
IsOn: account.IsOn,
|
||||
EabKid: account.EabKid,
|
||||
EabKey: account.EabKey,
|
||||
Error: account.Error,
|
||||
|
||||
Reference in New Issue
Block a user