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

16 lines
294 B
Go

package service
import "merchant/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
}