setup parser
This commit is contained in:
@ -102,9 +102,9 @@ func (p *PageState) Clone() *PageState {
|
||||
type CourseDiscount struct {
|
||||
PromoCode string `json:"promoCode"`
|
||||
PromoCodeType string `json:"promoCodeType"`
|
||||
Percent int `json:"percent"`
|
||||
Percent any `json:"percent"`
|
||||
EndDate time.Time `json:"endDate"`
|
||||
EndTime any `json:"endTime"`
|
||||
EndTime time.Time `json:"endTime"`
|
||||
}
|
||||
|
||||
type CourseAdvertising struct {
|
||||
@ -140,17 +140,17 @@ type Course struct {
|
||||
Discount CourseDiscount `json:"discount"`
|
||||
Link string `json:"link"`
|
||||
Learningtype []string `json:"learningtype"`
|
||||
DateStart any `json:"dateStart"`
|
||||
TimeStart any `json:"timeStart"`
|
||||
TimeAllHour any `json:"timeAllHour"`
|
||||
TimeAllDay any `json:"timeAllDay"`
|
||||
TimeAllMonth int `json:"timeAllMonth"`
|
||||
DateStart *time.Time `json:"dateStart"`
|
||||
TimeStart *time.Time `json:"timeStart"`
|
||||
TimeAllHour *float64 `json:"timeAllHour"`
|
||||
TimeAllDay *float64 `json:"timeAllDay"`
|
||||
TimeAllMonth *float64 `json:"timeAllMonth"`
|
||||
IsTermApproximately bool `json:"isTermApproximately"`
|
||||
DictionaryFormatFilterNew []string `json:"dictionaryFormatFilterNew"`
|
||||
DictionaryLevelFilterNew []string `json:"dictionaryLevelFilterNew"`
|
||||
Price int `json:"price"`
|
||||
PriceAll int `json:"priceAll"`
|
||||
PriceInstallment int `json:"priceInstallment"`
|
||||
Price float64 `json:"price"`
|
||||
PriceAll float64 `json:"priceAll"`
|
||||
PriceInstallment float64 `json:"priceInstallment"`
|
||||
CourseImage string `json:"courseImage"`
|
||||
WithoutDiscountPrice int `json:"withoutDiscountPrice"`
|
||||
Advertising CourseAdvertising `json:"advertising"`
|
||||
|
||||
Reference in New Issue
Block a user