mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
新增redis方法
This commit is contained in:
@@ -277,6 +277,8 @@ public class SpringBootTestController {
|
||||
@Qualifier("zhongDianLianPlatformServiceImpl")
|
||||
private ThirdPartyPlatformService platformLogic;
|
||||
|
||||
|
||||
|
||||
public void saveSOCTest() {
|
||||
String transactionCode = "12345";
|
||||
YKCUtils.saveSOC(transactionCode, "4");
|
||||
@@ -3883,4 +3885,13 @@ public class SpringBootTestController {
|
||||
System.out.println(StringUtils.equals(encryptData2, str));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void addPileMsgTest() {
|
||||
String redisKey = "pile_msg_list:" + "88000000000002";
|
||||
for (int i = 0; i < 30; i++) {
|
||||
redisCache.addPileMsg(redisKey, "充电桩报文第" + i + "条") ;
|
||||
}
|
||||
System.out.println(redisCache.getCacheList(redisKey));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user