package com.xunhong.erp.turbo.user.app.executor.cmd;

import com.xunhong.erp.turbo.api.facade.dto.qry.WxMaOpenidQry;
import com.xunhong.erp.turbo.user.domain.gateway.UserGateway;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;


@Component
@RequiredArgsConstructor
public class UserUnsubscribeCmdExe {
	private final UserGateway userGateway;

	public void execute(WxMaOpenidQry wxMaOpenidQry) {
		userGateway.unsubscribe(wxMaOpenidQry);
	}
}
