From c4824f05897433591acc92c10c3a90b6c270ef20 Mon Sep 17 00:00:00 2001 From: yuanjey <2218773049@qq.com> Date: Thu, 29 Aug 2024 14:49:31 +0800 Subject: [PATCH] api path --- user/user.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/user.go b/user/user.go index 8cf7f9a..9dc64a7 100644 --- a/user/user.go +++ b/user/user.go @@ -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 @@ -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