Skip to content

Commit 1ffffd0

Browse files
committed
优化: 更换表情合成API接口
Signed-off-by: hd <hdshare@vip.qq.com>
1 parent 1727303 commit 1ffffd0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

plugins/hd/EmojiMix/EmojiMix.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ void onHandleMsg(Object msgInfoBean) {
1515
if (emojis.length == 2) {
1616
String emoji1 = emojis[0].trim();
1717
String emoji2 = emojis[1].trim();
18-
19-
get("https://sbtxqq.com/api/emojimix.php?emoji1=" + emoji1 + "&emoji2=" + emoji2, null, new PluginCallBack.HttpCallback() {
18+
get("https://api.317ak.com/API/yljk/emo/emo.php?emoji1=" + emoji1 + "&emoji2=" + emoji2, null, new PluginCallBack.HttpCallback() {
2019
public void onSuccess(int respCode, String respContent) {
2120
JSONObject jsonObject = JSON.parseObject(respContent);
2221
int code = JSONPath.eval(jsonObject, "$.code");
@@ -28,14 +27,14 @@ public void onSuccess(File file) {
2827
}
2928

3029
public void onError(Exception e) {
31-
sendText(getTargetTalker(), "[晴天API]下载异常:" + e.getMessage());
30+
sendText(getTargetTalker(), "[倾梦API]下载异常:" + e.getMessage());
3231
}
3332
});
3433
}
3534
}
3635

3736
public void onError(Exception e) {
38-
sendText(getTargetTalker(), "[晴天API]生成异常:" + e.getMessage());
37+
sendText(getTargetTalker(), "[倾梦API]生成异常:" + e.getMessage());
3938
}
4039
});
4140
}

0 commit comments

Comments
 (0)