Skip to content

Commit

Permalink
更新api meta协议,对齐最新协议
Browse files Browse the repository at this point in the history
Change-Id: I80ca504e0d2d9054c68822e8dcc383c3270ec94d
  • Loading branch information
chengmozhoulilin committed May 17, 2024
1 parent 30c28ac commit 275ffee
Show file tree
Hide file tree
Showing 8 changed files with 689 additions and 160 deletions.
1 change: 1 addition & 0 deletions sample/apiall/basev1/copy_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func main() {
Name("一篇新的多维表格").
FolderToken("fldbco*****CIMltVc").
WithoutContent(false).
TimeZone("Asia/Shanghai").
Build()).
Build()
// 发起请求
Expand Down
1 change: 1 addition & 0 deletions sample/apiall/basev1/create_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func main() {
ReqApp(larkbase.NewReqAppBuilder().
Name("一篇新的多维表格").
FolderToken("fldbcoh8O99CIMltVc").
TimeZone("Asia/Macau").
Build()).
Build()
// 发起请求
Expand Down
2 changes: 1 addition & 1 deletion sample/apiall/basev1/create_appTableField.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
ClientToken("fe599b60-450f-46ff-b2ef-9f6675625b97").
AppTableField(larkbase.NewAppTableFieldBuilder().
FieldName("字段名称").
Type(1).
Type(0).
Property(larkbase.NewAppTableFieldPropertyBuilder().Build()).
Description(larkbase.NewAppTableFieldDescriptionBuilder().Build()).
UiType("Progress").
Expand Down
1 change: 1 addition & 0 deletions sample/apiall/basev1/get_appTableRecord.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ func main() {
TextFieldAsArray(true).
UserIdType("user_id").
DisplayFormulaRef(true).
WithSharedUrl(false).
AutomaticFields(true).
Build()
// 发起请求
Expand Down
2 changes: 1 addition & 1 deletion sample/apiall/basev1/update_appTableField.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
FieldId("fldPTb0U2y").
AppTableField(larkbase.NewAppTableFieldBuilder().
FieldName("字段名称").
Type(1).
Type(0).
Property(larkbase.NewAppTableFieldPropertyBuilder().Build()).
Description(larkbase.NewAppTableFieldDescriptionBuilder().Build()).
UiType("Progress").
Expand Down
585 changes: 479 additions & 106 deletions service/base/v1/model.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion service/drive/v1/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func NewService(config *larkcore.Config) *DriveService {

type DriveService struct {
config *larkcore.Config
Media *media // 分片上传
Media *media // 素材
}

type media struct {
Expand Down
Loading

0 comments on commit 275ffee

Please sign in to comment.