organization

pull/218/head
skiffer-git 3 years ago
parent 9abfe233bc
commit 9e18bcaeb8

@ -3,7 +3,7 @@ package base_info
import open_im_sdk "Open_IM/pkg/proto/sdk_ws" import open_im_sdk "Open_IM/pkg/proto/sdk_ws"
type CreateDepartmentReq struct { type CreateDepartmentReq struct {
*open_im_sdk.Department open_im_sdk.Department
OperationID string `json:"operationID" binding:"required"` OperationID string `json:"operationID" binding:"required"`
} }
type CreateDepartmentResp struct { type CreateDepartmentResp struct {
@ -13,7 +13,7 @@ type CreateDepartmentResp struct {
} }
type UpdateDepartmentReq struct { type UpdateDepartmentReq struct {
*open_im_sdk.Department open_im_sdk.Department
DepartmentID string `json:"departmentID" binding:"required"` DepartmentID string `json:"departmentID" binding:"required"`
OperationID string `json:"operationID" binding:"required"` OperationID string `json:"operationID" binding:"required"`
} }

Loading…
Cancel
Save