mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 17:40:05 +08:00
【todo】mj更新信息 增加 todo
This commit is contained in:
parent
8e7fc1ff96
commit
c1e2ba9ed4
@ -83,6 +83,7 @@ public class YuDaoMidjourneyMessageHandler implements MidjourneyMessageHandler {
|
|||||||
private void successHandler(MidjourneyMessage midjourneyMessage) {
|
private void successHandler(MidjourneyMessage midjourneyMessage) {
|
||||||
// 获取id
|
// 获取id
|
||||||
Long nonceId = Long.valueOf(midjourneyMessage.getNonce());
|
Long nonceId = Long.valueOf(midjourneyMessage.getNonce());
|
||||||
|
// TODO @芋艿 这个地方有问题,不能根据 nonce来更新,不返回这个信息(别人获取了 image-xxx-xx 后面一段hash,由于没有mj账号测试,暂不清楚。)
|
||||||
// 获取生成 url
|
// 获取生成 url
|
||||||
String imageUrl = null;
|
String imageUrl = null;
|
||||||
if (CollUtil.isNotEmpty(midjourneyMessage.getAttachments())) {
|
if (CollUtil.isNotEmpty(midjourneyMessage.getAttachments())) {
|
||||||
|
Loading…
Reference in New Issue
Block a user