feat: automate business upgrades and sync reviewed frontend
This commit is contained in:
@@ -37,7 +37,6 @@ type LedgerListOptions struct {
|
||||
type LedgerNames struct {
|
||||
PromoteID *int64
|
||||
PromoteAccount, BindingAccount, BindingUserName string
|
||||
BusinessPath []string
|
||||
}
|
||||
|
||||
func (n *LedgerNames) DisplayPromote() string {
|
||||
@@ -53,9 +52,6 @@ func (n *LedgerNames) DisplayPromote() string {
|
||||
return "未知渠道(ID:" + strconv.FormatInt(*n.PromoteID, 10) + ")"
|
||||
}
|
||||
func (n *LedgerNames) DisplayBusiness() string {
|
||||
if len(n.BusinessPath) > 0 {
|
||||
return strings.Join(n.BusinessPath, "→")
|
||||
}
|
||||
return (&Channel{BindingAccount: n.BindingAccount, BindingUserName: n.BindingUserName}).BusinessDisplayName()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user