package com.steerinfo.baseinfo.appverificationcode.service.impl;

//import com.wellbole.sms.client.callback.InboundMessageFetchCallback;
//import com.wellbole.sms.client.message.InboundMessage;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

/**
 * @description: TODO
 * @author: dyj
 * @date: 2022年03月16日11:00
 */
//public class InboundMessageCallbackTestImpl implements InboundMessageFetchCallback {
public class InboundMessageCallbackTestImpl  {
    /**
     * 日志
     */
    private static final Logger logger = LogManager.getLogger(InboundMessageCallbackTestImpl.class);

    /**
     * (non-Javadoc)
     * TODO 简单描述该方法的实现功能（可选）
     * @see com.wellbole.sms.client.callback.InboundMessageFetchCallback#onFetch(com.wellbole.sms.client.message.InboundMessage)
     */
//    @Override
//    public void onFetch(InboundMessage inboundMessage) {
//        //inboundMessage是上行短信（用户手机－》平台）
//        //msgid，平台自动生成的消息id
//        logger.info("msgid=" + inboundMessage.getMsgid());
//        //扩展代码，默认为空。
//        logger.info("extcode=" + inboundMessage.getExtCode());
//        //用户手机号码
//        logger.info("phone=" + inboundMessage.getPhone());
//        //用户发送的短信内容
//        logger.info("content=" + inboundMessage.getContent());
//        //平台接收上行短信时间
//        logger.info("receiverAt=" + inboundMessage.getReceiveAt());
//    }
}
