Skip to content

Commit

Permalink
api path
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanJey committed Aug 29, 2024
1 parent bb0d765 commit c4824f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (u *User) BatchEnableCompanyMembers(operationID string, accountList []strin

func (u *User) BatchDisableThirdMembers(operationID string, req api_req.BatchDisableThirdMembersReq) (*api_resp.CommonResp, error) {
resp := api_resp.CommonResp{}
err := http_client.Post(operationID, fmt.Sprintf(u.addr+consts.BatchEnableCompanyMembersPath, u.companyId), req, &resp, *u.sign)
err := http_client.Post(operationID, fmt.Sprintf(u.addr+consts.BatchDisableThirdMembersPath, u.companyId), req, &resp, *u.sign)
if err != nil {
log.Error(operationID, "BatchDisableThirdMembers err ", err.Error())
return nil, err
Expand All @@ -170,7 +170,7 @@ func (u *User) BatchDisableThirdMembers(operationID string, req api_req.BatchDis
}
func (u *User) BatchEnableThirdMembers(operationID string, req api_req.BatchEnableThirdMembersReq) (*api_resp.CommonResp, error) {
resp := api_resp.CommonResp{}
err := http_client.Post(operationID, fmt.Sprintf(u.addr+consts.BatchEnableCompanyMembersPath, u.companyId), req, &resp, *u.sign)
err := http_client.Post(operationID, fmt.Sprintf(u.addr+consts.BatchEnableThirdMembersPath, u.companyId), req, &resp, *u.sign)
if err != nil {
log.Error(operationID, "BatchEnableThirdMembers err ", err.Error())
return nil, err
Expand Down

0 comments on commit c4824f0

Please sign in to comment.