12345678910111213141516171819202122232425 |
- package user
- import (
- subscribeDao "eta/eta_mini_ht_api/models/merchant"
- )
- func GetUserSubscribe(productIds []int, userId int) (list []subscribeDao.UserSubscriptionAccessList, err error) {
- return subscribeDao.GetUserSubscribe(productIds, userId)
- }
- func GetNeedExpiredAccessCount(deadLine string) (count int) {
- return subscribeDao.GetNeedExpiredAccessCount(deadLine)
- }
- type accessDTO struct {
- ID int
- TemplateUserId int
- ProductID int
- ProductName string
- ProductType string
- Status string
- }
- func GetExpiredAccessList(num int, deadLine string) (list []subscribeDao.UserSubscriptionAccessList, err error) {
- return subscribeDao.GetExpiredAccessList(num, deadLine)
- }
|