mirror of
https://github.com/silenceper/wechat.git
synced 2026-11-16 05:12:03 +08:00
chore: format
This commit is contained in:
1 parent
3e9c3ed3fc
commit
fa495ddf95
1 file changed
+2
-4
@@ -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请求
|
||||||
|
|||||||
Reference in new issue
Block a user