@Component public class ApiUtil extends Object
| 构造器和说明 |
|---|
ApiUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getToken() |
static ApiSendMsgRetV1 |
sendMsg(ApiSendMsgReqV1 apiSendMsgReqV1)
发送消息
|
static ApiSendMsgBatchRetV1 |
sendMsgBatch(ApiSendMsgBatchReqV1 apiSendMsgBatchReqV1)
批量发送消息
|
void |
setToken(String token) |
@Value(value="${yhchat.token}")
public void setToken(String token)
public static String getToken()
public static ApiSendMsgRetV1 sendMsg(ApiSendMsgReqV1 apiSendMsgReqV1)
apiSendMsgReqV1 - public static ApiSendMsgBatchRetV1 sendMsgBatch(ApiSendMsgBatchReqV1 apiSendMsgBatchReqV1)
apiSendMsgBatchReqV1 - Copyright © 2023. All rights reserved.