diff --git a/app/api/service/button.go b/app/api/service/button.go index deed240..0d32b36 100644 --- a/app/api/service/button.go +++ b/app/api/service/button.go @@ -52,3 +52,13 @@ func (b *Button) UpgradeButton(link string) []*response.Button { }, } } + +func (b *Button) ContractCustomer() []*response.Button { + return []*response.Button{ + { + Text: b.param.Str(config.ServiceContactCustomer), + Url: b.param.Str(config.ServiceVipExpireUrl), + Type: config.ButtonClick, + }, + } +}