SmartCarLifeInvoker.java
622 Bytes
package cn.com.glsx.dj.weapp.manager;
import java.util.List;
import org.oreframework.boot.autoconfigure.rop.metadata.RopServerConfig;
import org.springframework.util.MultiValueMap;
/**
* @author suro
*/
public interface SmartCarLifeInvoker {
default <T> T rest(RopServerConfig ropServerConfig,MultiValueMap<String,String> params, Class<T> classType) throws Exception{
return null;
}
default <T> boolean checkNull(T o){
return false;
}
default <T> List<T> restList(RopServerConfig ropServerConfig,MultiValueMap<String,String> params, Class<T> classType) throws Exception{
return null;
}
}