package com.storlead.wecom.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.storlead.wecom.mapper.WechatTokenMapper;
import com.storlead.wecom.pojo.vo.WechatAppBO;
import com.storlead.wecom.pojo.vo.WechatToken;
import com.storlead.wecom.service.WechatTokenService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


/**
 * 企业微信token 服务实现类
 *
 * @author blank
 * @since 2021-6-15
 */
@Slf4j
@Service
public class WechatTokenServiceImpl extends ServiceImpl<WechatTokenMapper, WechatToken> implements WechatTokenService {

    @Override
    public WechatAppBO getWechatAppsByAppCode(String appCode) {
        return this.baseMapper.selectWechatAppsByAppCode(appCode);
    }
}
