From fa495ddf9590990697f87ce461b12a7c73ce16e6 Mon Sep 17 00:00:00 2001 From: ourines Date: Wed, 18 Oct 2023 12:06:18 +0800 Subject: [PATCH] chore: format --- work/addresslist/department.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/work/addresslist/department.go b/work/addresslist/department.go index 1074afc..b2feca0 100644 --- a/work/addresslist/department.go +++ b/work/addresslist/department.go @@ -125,11 +125,9 @@ func (r *Client) DepartmentListByID(departmentID int) ([]*Department, error) { } if departmentID > 0 { - formatURL = - fmt.Sprintf(departmentListByIDURL, accessToken, departmentID) + formatURL = fmt.Sprintf(departmentListByIDURL, accessToken, departmentID) } else { - formatURL = - fmt.Sprintf(departmentListURL, accessToken) + formatURL = fmt.Sprintf(departmentListURL, accessToken) } // 发起http请求