import com.ltkj.LtkjApplication; import lombok.extern.slf4j.Slf4j; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import java.util.ArrayList; import java.util.List; /** * @Company: 西安路泰科技有限公司 * @Author: lige * @Date: 2023/11/16 16:42 */ @RunWith(SpringRunner.class) @SpringBootTest(classes = LtkjApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) @Slf4j @EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class}) public class lgTest { @Test public void lige() { // List a=new ArrayList<>(); // a.add("ozImg61ibpygYZNRWLqtrdpoICh4"); //// a.add("ozImg66H5FbsXzzAHto5Ue_SN5W4"); //// a.add("ozImg64_ViFuhCWvnwLtMWyUCz7g"); //// a.add("ozImg61ibpygYZNRWLqtrdpoICh4"); // // for (String s : a) { // WxUtil.sendSubscribeMessage(s); // } //String openid = "o524m6a1xomIOW5fymo7WmE-z3Dg";//需要该用户已经授权过该订阅消息才能发送 } public static void main(String[] args) { Long a=12L; final long l = a + 10000; final String s = "V" + l; System.out.println(s); } }