package com.yifu.cloud.plus.v1.yifu.common.dapr.util;

import com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprCheckProperties;
import com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprMailProperties;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @Author fxj
 * @Description  邮件发送工具类
 * @Date 17:53 2022/12/1
**/
@Log4j2
@EnableConfigurationProperties(DaprMailProperties.class)
public class MailDaprUtil {
	@Autowired
	private DaprCheckProperties daprCheckProperties;
	/**
	 * @Author fxj
	 * @Description  身份证&姓名一致性校验
	 * @Date 21:15 2022/7/18
	 * @Param
	 * @return
	**/
	/*public R<TCheckIdCard> 	checkIdCardSingle(TCheckIdCard tCheckIdCard){
		R<TCheckIdCard> res = HttpDaprUtil.invokeMethodPost(daprCheckProperties.getAppUrl(),daprCheckProperties.getAppId(),"/tcheckidcard/inner/checkIdCardSingle",JSON.toJSONString(tCheckIdCard), TCheckIdCard.class, SecurityConstants.FROM_IN);
		if (Common.isEmpty(res)){
			return R.failed("校验身份证信息失败！");
		}
		return res;
	}*/
}
