package com.huaheng.api.xinyi.service; import com.baomidou.mybatisplus.extension.service.IService; import com.huaheng.api.xinyi.domian.TokenEntity; /** * * @author Enzo Cotter * @date 2019/12/20 */ public interface TokenService extends IService<TokenEntity>{ TokenEntity findOneByAll(); boolean insertSelective(TokenEntity tokenEntity); /** * 获取数据库中token,如果为空重新获取token * @return */ TokenEntity getTokenEntity(); }