yjp пре 1 година
родитељ
комит
2b4f19e779
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      convenient/binding/request/common.go

+ 4 - 4
convenient/binding/request/common.go

@@ -91,10 +91,10 @@ type CreateUserIDJsonBody struct {
 	CreateUserID string `json:"createUserId" binding:"required" assign:"toField:CreateUserID"`
 }
 
-type LastUpdateUserIDJsonBody struct {
-	LastUpdateUserID string `json:"lastUpdateUserId" binding:"required" assign:"toField:LastUpdateUserID"`
+type UpdateUserIDJsonBody struct {
+	UpdateUserID string `json:"updateUserId" binding:"required" assign:"toField:LastUpdateUserID"`
 }
 
-type LastUpdateUserIDPathParams struct {
-	LastUpdateUserID string `uri:"lastUpdateUserId" binding:"required" assign:"toField:LastUpdateUserID"`
+type DeleteUserIDPathParams struct {
+	DeleteUserID string `uri:"deleteUserId" binding:"required" assign:"toField:LastUpdateUserID"`
 }