feature/seller-add-field-planPackage #52
|
@ -79,7 +79,6 @@ func (s Seller) GetListSellerInfoSupportChatByIDs(p model.GetListSellerSupportCh
|
|||
if err := json.Unmarshal(msg.Data, &r); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if r.Error != "" {
|
||||
return nil, errors.New(r.Error)
|
||||
|
||||
|
|
|
@ -31,6 +31,15 @@ type ResponseSellerInfoSupportChat struct {
|
|||
TrackingTime *SellerTrackingTime `json:"trackingTime"`
|
||||
Invitee *InviteeInfo `json:"invitee"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
PlanPackage *SellerPlanPackageInfo `json:"planPackage"`
|
||||
}
|
||||
|
||||
// SellerPlanPackageInfo ...
|
||||
type SellerPlanPackageInfo struct {
|
||||
ID string `json:"_id"`
|
||||
Name string `json:"name"`
|
||||
Level int `json:"level"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
// SellerTrackingTime ...
|
||||
|
|
Loading…
Reference in New Issue