From 8f6164ed68a11199879227d4a2744f0eed313c67 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 04 八月 2023 09:22:51 +0800 Subject: [PATCH] 屏蔽main方法 --- cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java b/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java index d482fbb..ddcf78e 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java +++ b/cloud-server-other/src/main/java/com/dsh/other/service/impl/SiteServiceImpl.java @@ -276,11 +276,7 @@ return ResultUtil.success(); } - public static void main(String[] args) { - String a ="2023-07-28 10:30-15:30"; - String substring = a.substring(0,a.lastIndexOf("-")); - System.out.println(substring); - } + /** * 课程微信支付 * @param paymentPrice -- Gitblit v1.7.1