xuekang
2024-05-11 bac0878349a1db23e7b420ea164e22fb9db73a99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//package com.nuvole.laba;
//
//import com.nuvole.laba.conf.LaBaPushConfig;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
///**
// * @ClassName laba
// * @Author cy
// * @Date 2023/12/4
// * @Description
// * @Version 1.0
// **/
//@Component
//public class LabaPushUtil {
//    private static LaBaPushConfig laBaPushConfig;
//
//    @Autowired
//    public void setLaBaPushConfig(LaBaPushConfig laBaPushConfig) {
//        LabaPushUtil.laBaPushConfig = laBaPushConfig;
//    }
//
//    public static void sendMsg(String message) {
//        // 使用apiProperties中的key和secret来发送消息
//        String serverUrl = laBaPushConfig.getServerUrl();
//        String key = laBaPushConfig.getAccessKeyId();
//        String secret = laBaPushConfig.getAccessKeySecret();
//
//        // 实现消息发送逻辑...
//    }
//}