|
- package repo
-
- import (
- "gim/internal/business/domain/user/model"
- )
-
- type imPackageRepo struct{}
-
- var ImPackageRepo = new(imPackageRepo)
-
- // Get 获取单个套餐包
- func (*imPackageRepo) Get(masterId int64) (*model.ImPackage, error) {
- imPackage, err := ImPackageDao.Get(masterId)
- if err != nil {
- return nil, err
- }
- return imPackage, err
- }
|