| | |
| | | import java.util.List; |
| | | |
| | | public class ElectronicConstant { |
| | | // 授权码 登录 后台获取, 联系你的甲方或者是销售 |
| | | public static String auth_code = "1f29d378fc6792d5d2b735877993ffb7"; |
| | | // 随机字符串 后台获取 |
| | | public static String nonce = "lvyOY7fcun719WkxF8ToVYatStgt"; |
| | | |
| | | public static final String DEFAULT_AUTH_CODE = "1f29d378fc6792d5d2b735877993ffb7"; |
| | | public static final String DEFAULT_NONCE = "lvyOY7fcun719WkxF8ToVYatStgt"; |
| | | public static final String DEFAULT_NOTIFY_URL = "http://115.221.15.8:8055/electronic/electricalNotify"; |
| | | public static final String DEFAULT_API_URL = "http://api1.tqdianbiao.com"; |
| | | public static final String DEFAULT_API2_URL = "http://api2.tqdianbiao.com"; |
| | | |
| | | /** 授权码,由数据字典 ELECTRICAL_PARAM 加载 */ |
| | | public static String auth_code = DEFAULT_AUTH_CODE; |
| | | /** 签名随机串,由数据字典 ELECTRICAL_PARAM 加载 */ |
| | | public static String nonce = DEFAULT_NONCE; |
| | | public static String debug_meter = "000066660942"; |
| | | // 异步通知地址(服务如果部署在内网,在公网无法直接访问到,需要在路由器上配置端口映射,或者配置内网穿透工具来实现访问) 此处仅为测试 示例 |
| | | public static String notify_url = "http://115.221.15.8:8055/electronic/electricalNotify"; |
| | | public static String api_url = "http://api1.tqdianbiao.com"; |
| | | public static String api2_url = "http://api2.tqdianbiao.com"; |
| | | /** 异步通知地址,由数据字典 ELECTRICAL_PARAM 加载 */ |
| | | public static String notify_url = DEFAULT_NOTIFY_URL; |
| | | /** Api v1 根地址,由数据字典 ELECTRICAL_PARAM 加载 */ |
| | | public static String api_url = DEFAULT_API_URL; |
| | | /** Api v2 根地址,由数据字典 ELECTRICAL_PARAM 加载 */ |
| | | public static String api2_url = DEFAULT_API2_URL; |
| | | |
| | | |
| | | /** |