//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();
|
//
|
// // 实现消息发送逻辑...
|
// }
|
//}
|