From b2fce0dc7dc4ea5dec9792a2bc3ceb9d33d6e07b Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期一, 04 九月 2023 13:59:52 +0800 Subject: [PATCH] 修改后台社区动态加载不出来 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComAreaTownCommunityServiceImpl.java | 40 ---------------------------------------- 1 files changed, 0 insertions(+), 40 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComAreaTownCommunityServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComAreaTownCommunityServiceImpl.java index 4559d3a..b43b497 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComAreaTownCommunityServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComAreaTownCommunityServiceImpl.java @@ -32,44 +32,4 @@ return null; } - private Integer[] A={6,7,8,9,10,11}; - - private Integer[] B={12,13,14,15,16,17,18,19,20,21,22}; - - private Integer[] C={23,24,25,26,27,28,29,30,31,32,33}; - - private Integer[] D={10,11,12,13,14}; - - public void test(){ - Random random=new Random(); - Integer a=random.nextInt(A.length); - Integer a_f=A[a]; - Integer b=random.nextInt(B.length); - Integer b_f=B[b]; - Integer[] B1=ArrayUtils.remove(B,b); - Integer c=random.nextInt(B1.length); - Integer c_f=B1[c]; - Integer d=random.nextInt(C.length); - Integer d_f=C[d]; - Integer[] c1=ArrayUtils.remove(C,d); - Integer e=random.nextInt(c1.length); - Integer e_f=c1[e]; - Integer[] c2=ArrayUtils.remove(c1,e); - Integer f=random.nextInt(c2.length); - Integer f_f=c2[f]; - Integer g=random.nextInt(D.length); - Integer g_f=D[g]; - Integer[] fi={a_f,+b_f,c_f,d_f,+e_f,f_f}; - Arrays.sort(fi); - Integer[] ffi=ArrayUtils.add(fi,g_f); - System.out.println(Arrays.toString(ffi)); - } - - public static void main(String[] args) { - System.out.println("今日开奖预测:"); - for (int i=0;i<5;i++){ - ComAreaTownCommunityServiceImpl communityService=new ComAreaTownCommunityServiceImpl(); - communityService.test(); - } - } } -- Gitblit v1.7.1