chore: format

This commit is contained in:
ourines committed 2023-10-18 12:06:18 +08:00
1 parent 3e9c3ed3fc
commit fa495ddf95
1 file changed
+2 -4
+2 -4
View File
@@ -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请求