From 7e312fda9048ef171ff146acf6c8c679d123d357 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 04 八月 2023 15:17:48 +0800 Subject: [PATCH] 后台代码 --- 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 3ab0282..081772c 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 @@ -277,11 +277,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