dongfeng-pay/legend/service/accountService.go
2021-04-30 15:55:02 +08:00

19 lines
318 B
Go

package service
import (
"legend/models/fast"
)
type AccountService struct {
BaseService
}
func (c *AccountService) GetAccountInfo(userName string) *fast.AccountInfo {
merchantInfo := fast.GetMerchantInfoByUserName(userName)
accountInfo := fast.GetAccountInfo(merchantInfo.MerchantUid)
return accountInfo
}