diff --git a/pkg/base_info/organization_api_struct.go b/pkg/base_info/organization_api_struct.go index 0289b2f81..380678336 100644 --- a/pkg/base_info/organization_api_struct.go +++ b/pkg/base_info/organization_api_struct.go @@ -3,7 +3,7 @@ package base_info import open_im_sdk "Open_IM/pkg/proto/sdk_ws" type CreateDepartmentReq struct { - *open_im_sdk.Department + open_im_sdk.Department OperationID string `json:"operationID" binding:"required"` } type CreateDepartmentResp struct { @@ -13,7 +13,7 @@ type CreateDepartmentResp struct { } type UpdateDepartmentReq struct { - *open_im_sdk.Department + open_im_sdk.Department DepartmentID string `json:"departmentID" binding:"required"` OperationID string `json:"operationID" binding:"required"` }