1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-03-01 00:35:26 +08:00

Compare commits

..

1 Commits

Author SHA1 Message Date
ourines 57a18325af Merge 3e9c3ed3fc into 038037b89d 2023-10-17 09:06:04 +00:00
+4 -2
View File
@@ -125,9 +125,11 @@ 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请求