feat(0): [java]-[wechat-ferry-mvn]-新版本适配
1.发送表情接口存在问题,暂时弃用,待修复 2.新增变更文档
This commit is contained in:
parent
f3ac990ecc
commit
8f2d54da90
8
clients/java/wechat-ferry-mvn/CHANGELOG.md
vendored
Normal file
8
clients/java/wechat-ferry-mvn/CHANGELOG.md
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
## v39.3.3
|
||||||
|
|
||||||
|
### 2024-12-23
|
||||||
|
|
||||||
|
#### ⛰️ Features
|
||||||
|
|
||||||
|
- 适配SDK39.3.3版本
|
||||||
|
- wcf.proto文件部分字段类型修改
|
@ -16,6 +16,7 @@ public class WxPpWcfSendEmojiMsgReq {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 资源路径-本地表情路径
|
* 资源路径-本地表情路径
|
||||||
|
* 需要确保图片路径正确,建议使用绝对路径(使用双斜杠\\)
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "资源路径-本地表情路径")
|
@ApiModelProperty(value = "资源路径-本地表情路径")
|
||||||
private String resourcePath;
|
private String resourcePath;
|
||||||
|
@ -16,6 +16,7 @@ public class WxPpWcfSendImageMsgReq {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 资源路径-本地图片地址
|
* 资源路径-本地图片地址
|
||||||
|
* 需要确保图片路径正确,建议使用绝对路径(使用双斜杠\\)
|
||||||
* 如:`C:/Projs/WeChatRobot/TEQuant.jpeg`
|
* 如:`C:/Projs/WeChatRobot/TEQuant.jpeg`
|
||||||
* 或 `https://raw.githubusercontent.com/lich0821/WeChatFerry/master/assets/TEQuant.jpg`
|
* 或 `https://raw.githubusercontent.com/lich0821/WeChatFerry/master/assets/TEQuant.jpg`
|
||||||
*/
|
*/
|
||||||
|
@ -335,6 +335,7 @@ public class WeChatSocketClient {
|
|||||||
* @param receiver 消息接收者
|
* @param receiver 消息接收者
|
||||||
* @return 发送结果状态码
|
* @return 发送结果状态码
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public int sendEmotion(String path, String receiver) {
|
public int sendEmotion(String path, String receiver) {
|
||||||
Wcf.PathMsg pathMsg = Wcf.PathMsg.newBuilder().setPath(path).setReceiver(receiver).build();
|
Wcf.PathMsg pathMsg = Wcf.PathMsg.newBuilder().setPath(path).setReceiver(receiver).build();
|
||||||
Request req = Request.newBuilder().setFuncValue(Functions.FUNC_SEND_EMOTION_VALUE).setFile(pathMsg).build();
|
Request req = Request.newBuilder().setFuncValue(Functions.FUNC_SEND_EMOTION_VALUE).setFile(pathMsg).build();
|
||||||
|
@ -385,6 +385,7 @@ public class WeChatDllServiceImpl implements WeChatDllService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated
|
||||||
@Override
|
@Override
|
||||||
public WxPpWcfSendEmojiMsgResp sendEmojiMsg(WxPpWcfSendEmojiMsgReq request) {
|
public WxPpWcfSendEmojiMsgResp sendEmojiMsg(WxPpWcfSendEmojiMsgReq request) {
|
||||||
int state = wechatSocketClient.sendEmotion(request.getResourcePath(), request.getRecipient());
|
int state = wechatSocketClient.sendEmotion(request.getResourcePath(), request.getRecipient());
|
||||||
|
Loading…
Reference in New Issue
Block a user