package logic import ( "context" "member/gen_result/pb/member" "member/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type UpdateUserTokenLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewUpdateUserTokenLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserTokenLogic { return &UpdateUserTokenLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // UpdateUserToken 更新密碼 func (l *UpdateUserTokenLogic) UpdateUserToken(in *member.UpdateTokenReq) (*member.Response, error) { // todo: add your logic here and delete this line return &member.Response{}, nil }