package com.yonge.cooleshow.biz.dal.service.cbs.impl;

import com.dayaedu.cbs.openfeign.service.CbsQrCodeScanService;
import com.dayaedu.cbs.openfeign.wrapper.qrcode.CbsQrCodeScanWrapper;
import com.yonge.cooleshow.auth.api.client.SysUserFeignService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CbsQrCodeScanServiceImpl implements CbsQrCodeScanService {

    @Resource
    private SysUserFeignService sysUserFeignService;

    @Override
    public CbsQrCodeScanWrapper.UserInfo userInfo(CbsQrCodeScanWrapper.QrCodeScanUserInfoReq req) {
        return sysUserFeignService.userInfo(req);
    }

    @Override
    public CbsQrCodeScanWrapper.QrCodeScanToken login(CbsQrCodeScanWrapper.QrCodeScanReq req) {
        return sysUserFeignService.login(req);
    }
}
