package cn.pluss.platform.appletInfo.impl;

import cn.pluss.platform.appletInfo.AppletInfoService;
import cn.pluss.platform.entity.AppletInfo;
import cn.pluss.platform.mapper.AppletInfoMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 小程序配置信息 服务实现类
 * </p>
 *
 * @author crystal
 * @since 2022-04-20
 */
@Service
public class AppletInfoServiceImpl extends ServiceImpl<AppletInfoMapper, AppletInfo> implements AppletInfoService {

    /**
     * 获取小程序配置信息
     * @param appid
     * @return
     */
    @Override
    public AppletInfo getAppletInfoByAppId(String appid) {
        return baseMapper.getAppletInfoByAppId(appid);
    }
}
