优化名称,请求增加 req res 后缀,移动到api目录

This commit is contained in:
cherishsince 2024-04-10 20:02:33 +08:00
parent 03f124a82b
commit 9476a05949
4 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
package cn.iocoder.yudao.framework.ai.midjourney.vo;
package cn.iocoder.yudao.framework.ai.midjourney.api.req;
import lombok.Data;
import lombok.experimental.Accessors;
@ -12,7 +12,7 @@ import org.springframework.core.io.FileSystemResource;
*/
@Data
@Accessors(chain = true)
public class Attachments {
public class AttachmentsReq {
/**
* 创建文件系统资源对象

View File

@ -1,10 +1,8 @@
package cn.iocoder.yudao.framework.ai.midjourney.vo;
package cn.iocoder.yudao.framework.ai.midjourney.api.req;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.File;
/**
* describe
*
@ -13,7 +11,7 @@ import java.io.File;
*/
@Data
@Accessors(chain = true)
public class Describe {
public class DescribeReq {
/**
* 文件名字

View File

@ -1,4 +1,4 @@
package cn.iocoder.yudao.framework.ai.midjourney.vo;
package cn.iocoder.yudao.framework.ai.midjourney.api.req;
import lombok.Data;
import lombok.experimental.Accessors;
@ -9,7 +9,7 @@ import lombok.experimental.Accessors;
*/
@Data
@Accessors(chain = true)
public class ReRoll {
public class ReRollReq {
/**
* socket 消息里面收到的 messageId

View File

@ -1,4 +1,4 @@
package cn.iocoder.yudao.framework.ai.midjourney.vo;
package cn.iocoder.yudao.framework.ai.midjourney.api.res;
import lombok.Data;
import lombok.experimental.Accessors;