package com.zhiqiyun.open.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhiqiyun.open.core.models.app.AppKeyInfo;

public interface AppKeyInfoService extends IService<AppKeyInfo> {
    /**
     * 获取一个AppKeyInfo
     *
     * @param appKey
     * @return
     */
    AppKeyInfo findByAppKey(String appKey);

    /**
     * 刷新缓存
     *
     * @param appKey
     * @return
     */
    void refreshCache(String appKey);
}
