wangchuanjin 2 years ago
parent
commit
5a16b3921c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      api/medical/internal/logic/auth/userauthinfologic.go

+ 4 - 3
api/medical/internal/logic/auth/userauthinfologic.go

@@ -1,10 +1,11 @@
 package auth
 package auth
 
 
 import (
 import (
-	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/rpc/medical/medical"
 	"context"
 	"context"
 	"log"
 	"log"
 
 
+	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/rpc/medical/medical"
+
 	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/api/medical/internal/svc"
 	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/api/medical/internal/svc"
 	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/api/medical/internal/types"
 	"bp.jydev.jianyu360.cn/ApplicationCenter/medicalField/api/medical/internal/types"
 
 
@@ -28,8 +29,8 @@ func NewUserAuthInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *User
 func (l *UserAuthInfoLogic) UserAuthInfo(req *types.CommonReq) (*types.CommonRes, error) {
 func (l *UserAuthInfoLogic) UserAuthInfo(req *types.CommonReq) (*types.CommonRes, error) {
 	// todo: add your logic here and delete this line
 	// todo: add your logic here and delete this line
 	resp, err := l.svcCtx.Medical.UserAuthInfo(l.ctx, &medical.CommonReq{
 	resp, err := l.svcCtx.Medical.UserAuthInfo(l.ctx, &medical.CommonReq{
-		UserId: req.NewUserId,
-		Appid:  req.AppId,
+		PositionId: req.PositionId,
+		Appid:      req.AppId,
 	})
 	})
 	if err != nil {
 	if err != nil {
 		return nil, err
 		return nil, err