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