| | |
| | | package com.fzzy.api.data; |
| | | |
| | | |
| | | import com.fzzy.api.entity.ApiTrigger; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Desc: 系统支持已经实现的协议 |
| | | * @author: andy.jia |
| | |
| | | SB_WHJL_2023("SB_WHJL_2023", "武汉军粮平台2023版"), |
| | | HB_FZZY_JG_2022("HB_FZZY_JG_2022", "风正致远监管2022版本"), |
| | | SB_SHJdJW_2023("SB_SHJdJW_2023", "上海嘉定纪委监管平台2023版"), |
| | | SB_SH_2023("SB_SH_2023", "上海市平台2023版"); |
| | | SB_SH_2023("SB_SH_2023", "上海市平台2023版"), |
| | | GATEWAY_SC_2023("GATEWAY_SC_2023", "四川省网关协议2023"); |
| | | |
| | | |
| | | private String code; |
| | | private String name; |
| | | |
| | | |
| | | public static List<ApiTrigger> listTrigger() { |
| | | List<ApiTrigger> list = new ArrayList<>(); |
| | | list.add(new ApiTrigger(GB_DEFAULT.getCode(), GB_DEFAULT.getName())); |
| | | list.add(new ApiTrigger(GB_2022.getCode(), GB_2022.getName())); |
| | | list.add(new ApiTrigger(SB_SH_2021.getCode(), SB_SH_2021.getName())); |
| | | list.add(new ApiTrigger(SB_GD_2022.getCode(), SB_GD_2022.getName())); |
| | | list.add(new ApiTrigger(SB_GD_2020.getCode(), SB_GD_2020.getName())); |
| | | list.add(new ApiTrigger(SB_HN_2022.getCode(), SB_HN_2022.getName())); |
| | | list.add(new ApiTrigger(SB_WHJL_2023.getCode(), SB_WHJL_2023.getName())); |
| | | list.add(new ApiTrigger(HB_FZZY_JG_2022.getCode(), HB_FZZY_JG_2022.getName())); |
| | | list.add(new ApiTrigger(SB_SHJdJW_2023.getCode(), SB_SHJdJW_2023.getName())); |
| | | list.add(new ApiTrigger(SB_SH_2023.getCode(), SB_SH_2023.getName())); |
| | | list.add(new ApiTrigger(GATEWAY_SC_2023.getCode(), GATEWAY_SC_2023.getName())); |
| | | |
| | | return list; |
| | | } |
| | | |
| | | |
| | | |
| | | public String getCode() { |
| | | return code; |
| | | } |