dongfeng-pay/legend/service/accountService.go

19 lines
318 B
Go
Raw Normal View History

2021-04-27 15:33:49 +08:00
package service
import (
"legend/models/fast"
)
2021-04-27 15:33:49 +08:00
type AccountService struct {
BaseService
}
func (c *AccountService) GetAccountInfo(userName string) *fast.AccountInfo {
2021-04-27 15:33:49 +08:00
merchantInfo := fast.GetMerchantInfoByUserName(userName)
accountInfo := fast.GetAccountInfo(merchantInfo.MerchantUid)
2021-04-27 15:33:49 +08:00
return accountInfo
}