123456789101112131415161718192021222324252627282930313233 |
- package logic
- import (
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/internal/svc"
- "app.yhyue.com/moapp/jyResourcesCenter/rpc/resourcesCenter"
- "app.yhyue.com/moapp/jyResourcesCenter/service"
- "context"
- "github.com/tal-tech/go-zero/core/logx"
- )
- type FindCompanyOrganLogic struct {
- ctx context.Context
- svcCtx *svc.ServiceContext
- logx.Logger
- }
- func NewFindCompanyOrganLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindCompanyOrganLogic {
- return &FindCompanyOrganLogic{
- ctx: ctx,
- svcCtx: svcCtx,
- Logger: logx.WithContext(ctx),
- }
- }
- var companyCenterService service.CompanyCenterService
- // 查询用户组织信息
- func (l *FindCompanyOrganLogic) FindCompanyOrgan(in *resourcesCenter.OrganRequest) (*resourcesCenter.CompanyOrganResponse, error) {
- // todo: add your logic here and delete this line
- code, msg, data := companyCenterService.CompanyOrgan(in)
- return &resourcesCenter.CompanyOrganResponse{Code: code, Message: msg, Data: data}, nil
- }
|