dongfeng-pay/legend/service/accountService.go
2021-04-27 15:33:49 +08:00

16 lines
292 B
Go

package service
import "legend/models/fast"
type AccountService struct {
BaseService
}
func (c *AccountService) GetAccountInfo(userName string) *fast.RpAccount {
userInfo := fast.GetUserInfoByUserName(userName)
accountInfo := fast.GetAccontInfo(userInfo.UserNo)
return accountInfo
}