同步音频和图片
This commit is contained in:
22
model/dto/tencent/audio_dto.go
Normal file
22
model/dto/tencent/audio_dto.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package tencent
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// SyncAudioReq 同步音乐素材请求
|
||||
type SyncAudioReq struct {
|
||||
g.Meta `path:"/syncAudio" method:"post" tags:"腾讯广告音乐素材" summary:"同步音乐素材" dc:"自动分页获取所有音乐素材并保存到数据库"`
|
||||
AccessToken string `json:"access_token" dc:"访问令牌(可选,不传则从配置读取)"`
|
||||
}
|
||||
|
||||
// ListAudioReq 获取音乐素材列表请求
|
||||
type ListAudioReq struct {
|
||||
g.Meta `path:"/listAudio" method:"post" tags:"腾讯广告音乐素材" summary:"获取音乐素材列表" dc:"从本地数据库查询音乐素材列表"`
|
||||
}
|
||||
|
||||
// SyncAudioRes 同步音乐素材响应
|
||||
type SyncAudioRes struct {
|
||||
TotalNumber int `json:"total_number" dc:"总记录数"`
|
||||
TotalPage int `json:"total_page" dc:"总页数"`
|
||||
SyncedCount int `json:"synced_count" dc:"同步成功数量"`
|
||||
Message string `json:"message" dc:"消息"`
|
||||
}
|
||||
Reference in New Issue
Block a user