refactor: optimize DingTalk integration and add new utilities
This commit is contained in:
parent
c5b2a825fd
commit
e0fd700768
|
|
@ -28,11 +28,11 @@ type RecognizeUserContent struct {
|
||||||
type FileData []byte
|
type FileData []byte
|
||||||
|
|
||||||
type RecognizeFile struct {
|
type RecognizeFile struct {
|
||||||
File Files
|
File []File
|
||||||
FileUrl []string // 文件下载链接
|
FileUrl []string // 文件下载链接
|
||||||
}
|
}
|
||||||
|
|
||||||
type Files struct {
|
type File struct {
|
||||||
File []FileData // 文件数据(二进制格式)
|
FileData FileData // 文件数据(二进制格式)
|
||||||
FileType constants.Caller // 文件类型(文件类型,能填最好填,可以跳过一层判断)
|
FileType constants.Caller // 文件类型(文件类型,能填最好填,可以跳过一层判断)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue