mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-12-26 12:12:25 +08:00
19 lines
318 B
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
|
|
}
|