| | |
| | | package com.fzzy.api.data; |
| | | |
| | | |
| | | import com.fzzy.api.entity.ApiTrigger; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Desc: 系统支持已经实现的协议 |
| | | * @author: andy.jia |
| | |
| | | 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; |
| | | } |