| package com.zy.system.service; | 
|   | 
| import com.baomidou.mybatisplus.service.IService; | 
| import com.zy.system.entity.Config; | 
|   | 
| public interface ConfigService extends IService<Config> { | 
|   | 
|     Config selectConfigByCode(String code); | 
|   | 
|     <T> T getVal(String key, Class<T> clazz, T t); | 
| } |