Skip to content

Commit

Permalink
update url
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-LiK committed Apr 18, 2023
1 parent 0ff430d commit 26e19aa
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion model/v2.2/campaign/create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type AutoBuildNameRule struct {
}
// Url implement PostRequest interface
func (r CreateRequest) Url() string {
return "/gw/dsp/campaign/create"
return "gw/dsp/campaign/create"
}

// Encode implement PostRequest interface
Expand Down
2 changes: 1 addition & 1 deletion model/v2.2/campaign/update_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type UpdateRequest struct {

// Url implement PostRequest interface
func (r UpdateRequest) Url() string {
return "/gw/dsp/campaign/update"
return "gw/dsp/campaign/update"
}

// Encode implement PostRequest interface
Expand Down
2 changes: 1 addition & 1 deletion model/v2.2/creative/create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type NewExposeTag struct {

// Url implement PostRequest interface
func (r CreateRequest) Url() string {
return ""
return "gw/dsp/creative/create"
}

// Encode implement PostRequest interface
Expand Down
2 changes: 1 addition & 1 deletion model/v2.2/unit/create_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ type FansStar struct {

// Url implement PostRequest interface
func (r CreateRequest) Url() string {
return "/gw/dsp/unit/create"
return "gw/dsp/unit/create"
}

// Encode implement PostRequest interface
Expand Down

0 comments on commit 26e19aa

Please sign in to comment.