123456789101112131415161718 |
- package svc
- import (
- "app.yhyue.com/moapp/jyInfo/rpc/common/internal/config"
- "app.yhyue.com/moapp/jyInfo/rpc/model/province"
- )
- type ServiceContext struct {
- Config config.Config
- AreaModel model.AreaModel
- }
- func NewServiceContext(c config.Config) *ServiceContext {
- return &ServiceContext{
- Config: c,
- AreaModel: model.NewAreaModel(),
- }
- }
|