Skip to content

Commit

Permalink
Merge pull request #19 from Shinku-Chen/main
Browse files Browse the repository at this point in the history
罗盘账户 AdvertiserId 修改为json.number
  • Loading branch information
bububa authored Mar 7, 2022
2 parents 7213c24 + e51e0e0 commit 5800c08
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions model/advertiser/advertisers_response.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package advertiser

import "encoding/json"

// AdvertisersResponse 罗盘账户
type AdvertisersResponse struct {

Details []Advertiser `json:"details,omitempty"`
}
type Advertiser struct {
CorporationName string `json:"corporation_name,omitempty"`
AdvertiserName string `json:"advertiser_name,omitempty"`
AdvertiserId int64 `json:"advertiser_id,omitempty"`
CorporationName string `json:"corporation_name,omitempty"`
AdvertiserName string `json:"advertiser_name,omitempty"`
AdvertiserId json.Number `json:"advertiser_id,omitempty"`
}

0 comments on commit 5800c08

Please sign in to comment.