package jnpf.base.fallback; import jnpf.base.SystemApi; import jnpf.base.entity.SystemEntity; import jnpf.base.model.AppAuthorizationModel; import jnpf.base.model.base.SystemApiByIdsModel; import jnpf.base.model.base.SystemApiListModel; import jnpf.base.model.base.SystemApiModel; import jnpf.permission.model.user.WorkHandoverModel; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * @author :JNPF开发平台组 * @version: V3.1.0 * @copyright 引迈信息技术有限公司 * @date :2022/8/1 15:12 */ @Component public class SystemApiFallback implements SystemApi { @Override public List getList() { return Collections.EMPTY_LIST; } @Override public List getList(SystemApiListModel model) { return new ArrayList<>(); } @Override public List getListByIds(SystemApiByIdsModel model) { return new ArrayList<>(); } @Override public SystemEntity getInfoById(String systemId) { return new SystemEntity(); } @Override public SystemEntity getInfoByEnCode(String enCode) { return new SystemEntity(); } @Override public List findSystemAdmin(@RequestBody SystemApiModel model) { return new ArrayList<>(); } @Override public List getListAll() { return new ArrayList<>(); } @Override public void addCommonWordsNum(String commonWordsText) { } @Override public List getListByCreUser(@RequestParam("userId") String userId) { return Collections.EMPTY_LIST; } @Override public List getAuthListByUser(@RequestParam("userId") String userId, @RequestParam(value = "isStand")Boolean isStand) { return Collections.EMPTY_LIST; } @Override public void workHandover(WorkHandoverModel workHandoverModel) { } @Override public void changeSystemAuthorizion(AppAuthorizationModel model) { } }