26 lines
820 B
Go
26 lines
820 B
Go
package proto
|
|
|
|
type AiUndressOrderReq struct {
|
|
AppId int `json:"appId"`
|
|
FileUrl []string `json:"fileUrl"` //base64存的文件服地址
|
|
UserId string `json:"userId"` //用户id
|
|
AppOrderNum string `json:"appOrderNum"` //app中生成的订单号
|
|
NotifyUrl string `json:"notifyUrl"` //回调产品地址
|
|
}
|
|
|
|
type AiUndressOrderResp struct {
|
|
Code int `json:"code"`
|
|
}
|
|
|
|
type AiChangeFaceReq struct {
|
|
AppId int `json:"app_id"`
|
|
OrderNumAPP string `json:"order_num_app"` //app中生成的订单号
|
|
Title string `json:"title"` //模版标题
|
|
SourceImageUrl string `json:"source_image_url"` //源脸图片地址
|
|
NotifyUrl string `json:"notify_url"` //订单的回调地址
|
|
}
|
|
|
|
type AiChangeFaceResp struct {
|
|
Code int `json:"code"`
|
|
}
|