mirror of
https://gitee.com/y_project/RuoYi-Cloud.git
synced 2026-01-26 11:51:55 +08:00
2024-09-23 商户对接文档
This commit is contained in:
@@ -29,4 +29,9 @@ public class RedisConstant {
|
||||
* H5登录验证码
|
||||
*/
|
||||
public final static String H5_LOGIN_CACHE = CacheConstants.PROJET+"H5:login:cache:";
|
||||
|
||||
/**
|
||||
* H5申请幂等校验
|
||||
*/
|
||||
public final static String H5_APPLY_CHECK = CacheConstants.PROJET+"H5:apply:check";
|
||||
}
|
||||
|
||||
@@ -45,4 +45,7 @@ public class CustomerApplyLog extends BaseEntity
|
||||
@Excel(name = "成交金额 分")
|
||||
private BigDecimal price;
|
||||
|
||||
@Excel(name = "订单号")
|
||||
private String orderNo;
|
||||
|
||||
}
|
||||
|
||||
@@ -109,6 +109,9 @@ public class Merchant extends BaseEntity
|
||||
@Excel(name = "标签")
|
||||
private String label;
|
||||
|
||||
@Excel(name = "下游渠道标识")
|
||||
private String channelSign;
|
||||
|
||||
/** 无社保 */
|
||||
@Excel(name = "无社保")
|
||||
private Boolean socialSecurityNo;
|
||||
|
||||
@@ -327,7 +327,14 @@ public class SecureUtils {
|
||||
|
||||
String s = "{\"accumulationFund\":1,\"age\":18,\"car\":1,\"career\":1,\"city\":\"重庆\",\"cityCode\":1000,\"creditCard\":1,\"education\":1,\"guarantee\":1,\"hourse\":1,\"idCardMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"monthlyIncome\":5000,\"nameMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"phoneMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"sex\":0,\"socialSecurity\":1,\"zhiMa\":600}";
|
||||
String s1 = "{\"accumulationFund\":1,\"age\":18,\"car\":1,\"career\":1,\"city\":\"重庆\",\"cityCode\":1000,\"creditCard\":1,\"education\":1,\"guarantee\":1,\"hourse\":1,\"idCard\":\"341202199306023511\",\"idCardMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"monthlyIncome\":5000,\"name\":\"朱三\",\"nameMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"phone\":\"15205600635\",\"phoneMd5\":\"331d17d1ca8a091410e3238fab16a863\",\"sex\":0,\"socialSecurity\":1,\"zhiMa\":600}";
|
||||
System.out.println(AesEncode(s,"LwLjtU1Bt8dcxxjY"));
|
||||
String s3 = "{\n" +
|
||||
" \"orderNo\":\"111111\",\n" +
|
||||
" \"md5\":\"aaaaaa\",\n" +
|
||||
" \"price\":100.00,\n" +
|
||||
" \"orderStatus\":\"2\"\n" +
|
||||
"}";
|
||||
|
||||
System.out.println(AesEncode(s3,"LwLjtU1Bt8dcxxjY"));
|
||||
}
|
||||
/**
|
||||
* 解密
|
||||
|
||||
Reference in New Issue
Block a user