dongfeng-pay/legend/service/accountService.go

16 lines
292 B
Go
Raw Normal View History

2021-04-27 15:33:49 +08:00
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
}