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

Compare commits

...

2 Commits

Author SHA1 Message Date
ourines 38122d3cc6 Merge fa495ddf95 into 038037b89d 2023-10-18 04:07:10 +00:00
ourines fa495ddf95 chore: format 2023-10-18 12:06:18 +08:00
+2 -4
View File
@@ -125,11 +125,9 @@ func (r *Client) DepartmentListByID(departmentID int) ([]*Department, error) {
} }
if departmentID > 0 { if departmentID > 0 {
formatURL = formatURL = fmt.Sprintf(departmentListByIDURL, accessToken, departmentID)
fmt.Sprintf(departmentListByIDURL, accessToken, departmentID)
} else { } else {
formatURL = formatURL = fmt.Sprintf(departmentListURL, accessToken)
fmt.Sprintf(departmentListURL, accessToken)
} }
// 发起http请求 // 发起http请求