mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update
This commit is contained in:
@@ -252,6 +252,22 @@ public class SpringBootTestController {
|
||||
@Autowired
|
||||
private NotificationService notificationService;
|
||||
|
||||
@Test
|
||||
public void getSnowflakeIdTest() {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
String snowflakeId = SnowflakeIdWorker.getSnowflakeId();
|
||||
System.out.println("第" + i + "个snowflakeId:" + snowflakeId);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getOrderCodeTest() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
String orderCode = IdUtils.getOrderCode();
|
||||
System.out.println("第" + i + 1 + "个orderCode:" + orderCode);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void notificationStationInfoTest() {
|
||||
String stationId = "19";
|
||||
|
||||
Reference in New Issue
Block a user