feat: automate business upgrades and sync reviewed frontend

This commit is contained in:
Yvan
2026-11-06 15:48:35 +08:00
parent 7df74bc8e8
commit 9fccd804a3
58 changed files with 5689 additions and 259 deletions
-4
View File
@@ -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()
}