package com.ruixuan.launch.service.impl;

import com.ruixuan.launch.entity.AccountToken;
import com.ruixuan.launch.mapper.AccountTokenMapper;
import com.ruixuan.launch.service.IAccountTokenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author ruoyi
 * @date 2022-07-15
 */
@Service
public class AccountTokenServiceImpl implements IAccountTokenService {
    @Autowired
    private AccountTokenMapper accountTokenMapper;

    @Override
    public AccountToken selectAccountTokenById(String id) {
        return accountTokenMapper.selectAccountTokenById(id);
    }


    @Override
    public AccountToken getAccountToken(Long accountId) {
        return accountTokenMapper.getKuaishouToken();
    }
}
