// Code scaffolded by goctl. Safe to edit. // goctl 1.10.1 package user import ( "context" "sundynix-micro-go/app/auth/api/internal/svc" "sundynix-micro-go/app/auth/api/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type ChangePasswordLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 修改密码 func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic { return &ChangePasswordLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *ChangePasswordLogic) ChangePassword(req *types.ChangePasswordReq) error { // todo: add your logic here and delete this line return nil }