|
@@ -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
|