烟花爆竹推送丹灵系统数据服务
kongzy
2024-02-18 659ed87a1ec45c77cd1b6d02b6c97eee6077000d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.gkhy.firework;
 
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
 
@RunWith(SpringRunner.class)
@SpringBootTest(classes = FireworkApplication.class)
//@ActiveProfiles("dev")
@Slf4j
public class TestDemo {
 
 
 
    @Test
    public void testStr(){
        String idstr="65430119830313043X";
        System.out.println(idstr.substring(6,14));
    }
}