refactor-location #134

Closed
trunglam wants to merge 270 commits from refactor-location into master
2 changed files with 15 additions and 9 deletions
Showing only changes of commit dcbf82a4d0 - Show all commits

View File

@ -79,7 +79,6 @@ func (s Seller) GetListSellerInfoSupportChatByIDs(p model.GetListSellerSupportCh
if err := json.Unmarshal(msg.Data, &r); err != nil { if err := json.Unmarshal(msg.Data, &r); err != nil {
return nil, err return nil, err
} }
if r.Error != "" { if r.Error != "" {
return nil, errors.New(r.Error) return nil, errors.New(r.Error)

View File

@ -18,14 +18,21 @@ type OutboundRequestResponse struct {
// WarehouseConfiguration ... // WarehouseConfiguration ...
type WarehouseConfiguration struct { type WarehouseConfiguration struct {
Warehouse string `json:"warehouse"` Warehouse string `json:"warehouse"`
DoesSupportSellyExpress bool `json:"doesSupportSellyExpress"` DoesSupportSellyExpress bool `json:"doesSupportSellyExpress"`
Supplier WarehouseSupplier `json:"supplier"` Supplier WarehouseSupplier `json:"supplier"`
Order WarehouseOrder `json:"order"` Order WarehouseOrder `json:"order"`
Partner WarehousePartner `json:"partner"` Partner WarehousePartner `json:"partner"`
Delivery WarehouseDelivery `json:"delivery"` Delivery WarehouseDelivery `json:"delivery"`
Other WarehouseOther `json:"other"` Other WarehouseOther `json:"other"`
Food WarehouseFood `json:"food"` Food WarehouseFood `json:"food"`
AutoConfirmOrder WarehouseOrderConfirm `json:"autoConfirmOrder"`
}
// WarehouseOrderConfirm ...
type WarehouseOrderConfirm struct {
IsEnable bool `json:"isEnable"`
ConfirmDelayInSeconds int64 `json:"confirmDelayInSeconds"`
} }
// WarehouseFood ... // WarehouseFood ...