You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dongfeng-pay/legend/service/accountService.go

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
}