From 6f8f2fdf3594a831755529989c4f054328aaf832 Mon Sep 17 00:00:00 2001 From: yoogo Date: Tue, 27 Feb 2024 14:10:09 +0800 Subject: [PATCH] chore: ignore lint check --- models.go | 6 +++--- oa.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/models.go b/models.go index 4bb83ed..6faa07b 100644 --- a/models.go +++ b/models.go @@ -1339,9 +1339,9 @@ type TemplateCard struct { } type TemplateCardUpdateMessage struct { - UserIds []string `json:"userids" validate:"omitempty,max=100"` - PartyIds []int64 `json:"partyids" validate:"omitempty,max=100"` - TagIds []int32 `json:"tagids" validate:"omitempty,max=100"` + UserIds []string `json:"userids" validate:"omitempty,max=100"` //nolint:revive + PartyIds []int64 `json:"partyids" validate:"omitempty,max=100"` //nolint:revive + TagIds []int32 `json:"tagids" validate:"omitempty,max=100"` //nolint:revive AtAll int `json:"atall,omitempty"` ResponseCode string `json:"response_code"` Button struct { diff --git a/oa.go b/oa.go index 5f99cad..8f3b81e 100644 --- a/oa.go +++ b/oa.go @@ -73,7 +73,7 @@ func (c *WorkwxApp) GetOAGetUserVacationQuota(userID string) ([]UserVacationQuot // GetOASetOneUserVacationQuota 修改成员假期余额 func (c *WorkwxApp) GetOASetOneUserVacationQuota(req GetOASetOneUserVacationQuota) error { - _, err := c.execOASetOneUserVacationQuota(reqOASetOneUserVacationQuota{ + _, err := c.execOASetOneUserVacationQuota(reqOASetOneUserVacationQuota{ //nolint:gosimple UserID: req.UserID, VacationID: req.VacationID, LeftDuration: req.LeftDuration,