diff --git a/server/feishu-sync/internal/logic/ticketwebhooklogic.go b/server/feishu-sync/internal/logic/ticketwebhooklogic.go index e4afb84c..d7cc596b 100644 --- a/server/feishu-sync/internal/logic/ticketwebhooklogic.go +++ b/server/feishu-sync/internal/logic/ticketwebhooklogic.go @@ -31,9 +31,6 @@ func NewTicketWebhookLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Tic // } func (l *TicketWebhookLogic) TicketWebhook(req *types.TicketWebhookReq, userinfo *auth.UserInfo) (resp *basic.Response) { - // 返回值必须调用Set重新返回, resp可以空指针调用 resp.SetStatus(basic.CodeOK, data) - // userinfo 传入值时, 一定不为null - return resp.SetStatus(basic.CodeOK) }