浏览代码

修改Bug

yjp 1 年之前
父节点
当前提交
57302e725f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      client/client_cmd_request.go

+ 4 - 4
client/client_cmd_request.go

@@ -19,14 +19,14 @@ type InsertRequest struct {
 }
 
 type InsertBatchRequest struct {
-	Items  []*InsertTableRowItem
+	Items  []InsertTableRowItem
 	UserID string
 }
 
 type InsertTableRowItem struct {
 	TablePrefixWithSchema string
 	Version               string
-	Items                 []*InsertItem
+	Items                 []InsertItem
 }
 
 type InsertItem struct {
@@ -42,14 +42,14 @@ type DeleteRequest struct {
 }
 
 type DeleteBatchRequest struct {
-	Items  []*DeleteTableRowItem
+	Items  []DeleteTableRowItem
 	UserID string
 }
 
 type DeleteTableRowItem struct {
 	TablePrefixWithSchema string
 	Version               string
-	Items                 []*DeleteItem
+	Items                 []DeleteItem
 }
 
 type DeleteItem struct {