Skip to content

Commit

Permalink
Merge pull request #425 from ArtisanCloud/develop
Browse files Browse the repository at this point in the history
fix(work):oa checkin option uri
  • Loading branch information
Matrix-X authored Dec 31, 2023
2 parents 8111139 + e5082d0 commit ca8f06d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/work/oa/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (comp *Client) AddCheckinOption(ctx context.Context, data *object.HashMap)

result := &response2.ResponseWork{}

_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/corp/checkin/add_checkin_option", data, nil, nil, result)
_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/checkin/add_checkin_option", data, nil, nil, result)

return result, err

Expand All @@ -150,7 +150,7 @@ func (comp *Client) UpdateCheckinOption(ctx context.Context, data *object.HashMa

result := &response2.ResponseWork{}

_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/corp/checkin/update_checkin_option", data, nil, nil, result)
_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/checkin/update_checkin_option", data, nil, nil, result)

return result, err

Expand All @@ -162,7 +162,7 @@ func (comp *Client) DelCheckinOption(ctx context.Context, groupId int, effective

result := &response2.ResponseWork{}

_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/corp/checkin/del_checkin_option", &object.HashMap{
_, err := comp.BaseClient.HttpPostJson(ctx, "cgi-bin/checkin/del_checkin_option", &object.HashMap{
"groupid": groupId,
"effective_now": effectiveNow,
}, nil, nil, result)
Expand Down

0 comments on commit ca8f06d

Please sign in to comment.