init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
package v1
type FeishuSpaceListReq struct {
UserAccessToken string `json:"user_access_token" validate:"required"`
AppID string `json:"app_id" validate:"required"`
AppSecret string `json:"app_secret" validate:"required"`
}
type FeishuSpaceListResp struct {
Name string `json:"name"`
SpaceId string `json:"space_id"`
}
type FeishuSearchWikiReq struct {
UserAccessToken string `json:"user_access_token" validate:"required"`
AppID string `json:"app_id" validate:"required"`
AppSecret string `json:"app_secret" validate:"required"`
SpaceId string `json:"space_id"`
}
type FeishuSearchWikiResp struct {
ID string `json:"id" validate:"required"`
DocId string `json:"doc_id" validate:"required"`
Title string `json:"title"`
FileType string `json:"file_type"`
SpaceId string `json:"space_id"`
}
type FeishuListCloudDocReq struct {
UserAccessToken string `json:"user_access_token" validate:"required"`
AppID string `json:"app_id" validate:"required"`
AppSecret string `json:"app_secret" validate:"required"`
}
type FeishuListCloudDocResp struct {
ID string `json:"id" validate:"required"`
DocId string `json:"doc_id" validate:"required"`
Title string `json:"title"`
FileType string `json:"file_type"`
SpaceId string `json:"space_id"`
}
type FeishuGetDocReq struct {
KbID string `json:"kb_id" validate:"required"`
ID string `json:"id" validate:"required"`
DocId string `json:"doc_id" validate:"required"`
FileType string `json:"file_type"`
SpaceId string `json:"space_id"`
}
type FeishuGetDocResp struct {
Content string `json:"content"`
}