From 738ac9519a80da21556ad7605acedba54423ab1d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 02 九月 2023 14:33:03 +0800 Subject: [PATCH] 添加数简服务发布实体类及参数 --- src/main/java/com/moon/server/service/data/ShuJianService.java | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/moon/server/service/data/ShuJianService.java b/src/main/java/com/moon/server/service/data/ShuJianService.java index eb71087..ec2b4b7 100644 --- a/src/main/java/com/moon/server/service/data/ShuJianService.java +++ b/src/main/java/com/moon/server/service/data/ShuJianService.java @@ -8,6 +8,7 @@ import com.moon.server.helper.StringHelper; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.util.List; @@ -19,6 +20,12 @@ @Service public class ShuJianService { private final static Log log = LogFactory.getLog(ShuJianService.class); + + @Value("${shujian.ak}") + private String ak; + + @Value("${shujian.url}") + private String url; /** * 鍒涘缓鏁扮畝鍥惧眰 @@ -80,7 +87,6 @@ } } - /** * 鍒犻櫎鏁扮畝鍥惧眰 */ @@ -89,7 +95,7 @@ DeleteEntity entity = new DeleteEntity(); entity.getId_list().add(id); - // + //.. } catch (Exception ex) { log.error(ex.getMessage(), ex); } @@ -103,7 +109,7 @@ DeleteEntity entity = new DeleteEntity(); entity.getId_list().add(id); - // + //.. } catch (Exception ex) { log.error(ex.getMessage(), ex); } -- Gitblit v1.9.3