update 非法的交易流水号

This commit is contained in:
2023-05-24 14:19:36 +08:00
parent dbfe41e506
commit a318a62105
3 changed files with 14 additions and 3 deletions

View File

@@ -8,6 +8,9 @@ import io.jsonwebtoken.Claims;
* @author jsowell
*/
public class Constants {
// 非法交易流水号 由充电桩启动的订单会传全是0的交易流水号
public static final String ILLEGAL_TRANSACTION_CODE = "00000000000000000000000000000000";
// 充电桩sn号长度
public static final int PILE_SN_LENGTH = 14;
@@ -18,9 +21,14 @@ public class Constants {
public static final int PILE_CONNECTOR_CODE_LENGTH = PILE_SN_LENGTH + CONNECTOR_CODE_LENGTH;
public static final String SOCKET_IP = "127.0.0.1";
// 默认端口号
public static final Integer SOCKET_PORT = 9011;
// 阿里云服务器地址
public static final String updateServerIP = "47.103.124.69";
// ftp端口号
public static final int port = 0x15;
public static final byte[] updateServerPort = new byte[]{port};