From 10b65a5af51821c478121d4815675653f28f9686 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Tue, 8 Jun 2021 23:40:52 +0800 Subject: [PATCH] =?UTF-8?q?test(wxapi):=20=E9=80=82=E9=85=8D=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9E=8B=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Address/ProductAddressAddRequest.json | 26 ++++++ .../Address/ProductAddressAddResponse.json | 4 + .../Address/ProductAddressDeleteRequest.json | 3 + .../Address/ProductAddressDeleteResponse.json | 4 + .../Address/ProductAddressGetRequest.json | 3 + .../Address/ProductAddressGetResponse.json | 33 +++++++ .../Address/ProductAddressUpdateRequest.json | 27 ++++++ .../Address/ProductAddressUpdateResponse.json | 4 + .../Product/Brand/ProductBrandGetRequest.json | 1 + .../Brand/ProductBrandGetResponse.json | 15 ++++ .../Category/ProductCategoryGetRequest.json | 3 + .../Category/ProductCategoryGetResponse.json | 16 ++++ .../Coupon/ProductCouponCreateRequest.json | 38 ++++++++ .../Coupon/ProductCouponCreateResponse.json | 7 ++ .../Coupon/ProductCouponGetListRequest.json | 7 ++ .../Coupon/ProductCouponGetListResponse.json | 38 ++++++++ .../Coupon/ProductCouponGetRequest.json | 3 + .../Coupon/ProductCouponGetResponse.json | 27 ++++++ .../ProductCouponUpdateStatusRequest.json | 4 + .../ProductCouponUpdateStatusResponse.json | 4 + ...ionDecorationServiceExperienceRequest.json | 3 + ...onDecorationServiceExperienceResponse.json | 4 + ...uctDecorationDecorationServiceRequest.json | 4 + ...ctDecorationDecorationServiceResponse.json | 4 + ...xaProductDecorationCheckStatusRequest.json | 3 + ...aProductDecorationCheckStatusResponse.json | 5 ++ ...ecorationGetPressureTestReportRequest.json | 3 + ...corationGetPressureTestReportResponse.json | 21 +++++ ...aProductDecorationPressureTestRequest.json | 1 + ...ProductDecorationPressureTestResponse.json | 5 ++ ...orationQueryPressureTestStatusRequest.json | 3 + ...rationQueryPressureTestStatusResponse.json | 5 ++ ...ductDeliveryGetFreightTemplateRequest.json | 1 + ...uctDeliveryGetFreightTemplateResponse.json | 62 +++++++++++++ ...tDeliveryInsertFreightTemplateRequest.json | 62 +++++++++++++ ...DeliveryInsertFreightTemplateResponse.json | 4 + ...tDeliveryUpdateFreightTemplateRequest.json | 63 +++++++++++++ ...DeliveryUpdateFreightTemplateResponse.json | 4 + .../ProductDeliveryGetCompanyListRequest.json | 1 + ...ProductDeliveryGetCompanyListResponse.json | 18 ++++ .../Delivery/ProductDeliverySendRequest.json | 17 ++++ .../Delivery/ProductDeliverySendResponse.json | 4 + .../ProductLimitedDiscountAddRequest.json | 17 ++++ .../ProductLimitedDiscountAddResponse.json | 3 + .../ProductLimitedDiscountGetListRequest.json | 3 + ...ProductLimitedDiscountGetListResponse.json | 35 ++++++++ ...uctLimitedDiscountUpdateStatusRequest.json | 4 + ...ctLimitedDiscountUpdateStatusResponse.json | 3 + ...roductOfflineGetPickupTemplateRequest.json | 1 + ...oductOfflineGetPickupTemplateResponse.json | 15 ++++ ...ductOfflineGetSameCityTemplateRequest.json | 1 + ...uctOfflineGetSameCityTemplateResponse.json | 26 ++++++ ...uctOfflineUpdatePickupTemplateRequest.json | 13 +++ ...ctOfflineUpdatePickupTemplateResponse.json | 4 + ...tOfflineUpdateSameCityTemplateRequest.json | 24 +++++ ...OfflineUpdateSameCityTemplateResponse.json | 4 + .../Order/ProductCouponGetUserRequest.json | 4 + .../Order/ProductCouponGetUserResponse.json | 18 ++++ .../Order/ProductCouponPushRequest.json | 4 + .../Order/ProductCouponPushResponse.json | 4 + .../Order/ProductOrderGetListRequest.json | 8 ++ .../Order/ProductOrderGetListResponse.json | 87 ++++++++++++++++++ .../Product/Order/ProductOrderGetRequest.json | 3 + .../Order/ProductOrderGetResponse.json | 85 ++++++++++++++++++ .../Order/ProductOrderSearchRequest.json | 14 +++ .../Order/ProductOrderSearchResponse.json | 88 +++++++++++++++++++ ...roductRegisterCheckAuditStatusRequest.json | 3 + ...oductRegisterCheckAuditStatusResponse.json | 18 ++++ .../ProductRegisterRegisterShopRequest.json | 7 ++ .../ProductRegisterRegisterShopResponse.json | 4 + ...ProductRegisterSubmitBasicInfoRequest.json | 33 +++++++ ...roductRegisterSubmitBasicInfoResponse.json | 4 + ...ductRegisterSubmitMerchantInfoRequest.json | 65 ++++++++++++++ ...uctRegisterSubmitMerchantInfoResponse.json | 4 + .../Product/SKU/ProductSKUAddRequest.json | 21 +++++ .../Product/SKU/ProductSKUAddResponse.json | 8 ++ .../SKU/ProductSKUBatchAddRequest.json | 25 ++++++ .../SKU/ProductSKUBatchAddResponse.json | 11 +++ .../Product/SKU/ProductSKUDeleteRequest.json | 6 ++ .../Product/SKU/ProductSKUDeleteResponse.json | 4 + .../Product/SKU/ProductSKUGetListRequest.json | 5 ++ .../SKU/ProductSKUGetListResponse.json | 28 ++++++ .../Product/SKU/ProductSKUGetRequest.json | 6 ++ .../Product/SKU/ProductSKUGetResponse.json | 27 ++++++ .../SKU/ProductSKUUpdatePriceRequest.json | 8 ++ .../SKU/ProductSKUUpdatePriceResponse.json | 8 ++ .../Product/SKU/ProductSKUUpdateRequest.json | 22 +++++ .../Product/SKU/ProductSKUUpdateResponse.json | 8 ++ .../Product/SPU/ProductSPUAddRequest.json | 64 ++++++++++++++ .../Product/SPU/ProductSPUAddResponse.json | 9 ++ .../Product/SPU/ProductSPUDeleteRequest.json | 4 + .../Product/SPU/ProductSPUDeleteResponse.json | 4 + .../SPU/ProductSPUDelistingRequest.json | 4 + .../SPU/ProductSPUDelistingResponse.json | 4 + .../Product/SPU/ProductSPUGetListRequest.json | 6 ++ .../SPU/ProductSPUGetListResponse.json | 67 ++++++++++++++ .../Product/SPU/ProductSPUGetRequest.json | 5 ++ .../Product/SPU/ProductSPUGetResponse.json | 65 ++++++++++++++ .../Product/SPU/ProductSPUListingRequest.json | 4 + .../SPU/ProductSPUListingResponse.json | 4 + .../Product/SPU/ProductSPUSearchRequest.json | 6 ++ .../Product/SPU/ProductSPUSearchResponse.json | 66 ++++++++++++++ .../Product/SPU/ProductSPUUpdateRequest.json | 43 +++++++++ .../Product/SPU/ProductSPUUpdateResponse.json | 9 ++ .../ProductServiceCheckAuthRequest.json | 3 + .../ProductServiceCheckAuthResponse.json | 8 ++ .../Service/ProductServiceGetListRequest.json | 1 + .../ProductServiceGetListResponse.json | 12 +++ .../ProductServiceGetOrderListRequest.json | 6 ++ .../ProductServiceGetOrderListResponse.json | 17 ++++ .../ProductShipMethodsGetRequest.json | 2 + .../ProductShipMethodsGetResponse.json | 9 ++ .../ProductShipMethodsSetRequest.json | 7 ++ .../ProductShipMethodsSetResponse.json | 4 + .../Product/Stock/ProductStockGetRequest.json | 6 ++ .../Stock/ProductStockGetResponse.json | 7 ++ .../Stock/ProductStockUpdateRequest.json | 8 ++ .../Stock/ProductStockUpdateResponse.json | 7 ++ .../Store/ProductStoreGetInfoRequest.json | 1 + .../Store/ProductStoreGetInfoResponse.json | 9 ++ .../ProductStoreGetShopCategoryRequest.json | 1 + .../ProductStoreGetShopCategoryResponse.json | 12 +++ 122 files changed, 1841 insertions(+) create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoResponse.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryRequest.json create mode 100644 test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryResponse.json diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddRequest.json new file mode 100644 index 00000000..0b6391b3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddRequest.json @@ -0,0 +1,26 @@ +{ + "address_detail": { + "address_info": { + "user_name": "xasdss", + "postal_code": "510983", + "province_name": "广东省", + "city_name": "广州市", + "county_name": "天河区", + "detail_info": "广州市天河区人民政府", + "tel_number": "18829736648", + "lat": 23.12463, + "lng": 113.36199, + "house_number": "12" + }, + "landline": "", + "remark": "", + "send_addr": 0, + "default_send": 1, + "recv_addr": 0, + "default_recv": 1, + "address_type": { + "same_city": 0, + "pickup": 0 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressAddResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteRequest.json new file mode 100644 index 00000000..e2ea90d9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteRequest.json @@ -0,0 +1,3 @@ +{ + "address_id": "12345" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressDeleteResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetRequest.json new file mode 100644 index 00000000..63dab081 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetRequest.json @@ -0,0 +1,3 @@ +{ + "address_id": 12345 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetResponse.json new file mode 100644 index 00000000..29844ef8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressGetResponse.json @@ -0,0 +1,33 @@ +{ + "errcode": 0, + "errmsg": "", + "address_list": [ + { + "address_id": 12345, + "address_info": { + "user_name": "xasdss", + "postal_code": "510983", + "province_name": "广东省", + "city_name": "广州市", + "county_name": "天河区", + "detail_info": "广州市天河区人民政府", + "tel_number": "18829736648", + "lat": 23.12463, + "lng": 113.36199, + "house_number": "asdf" + }, + "landline": "", + "remark": "", + "send_addr": 0, + "default_send": 1, + "recv_addr": 0, + "default_recv": 1, + "create_time": 1617853816, + "update_time": 1617853816, + "address_type": { + "same_city": 0, + "pickup": 0 + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateRequest.json new file mode 100644 index 00000000..07ac01b8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateRequest.json @@ -0,0 +1,27 @@ +{ + "address_detail": { + "address_id": "12345", + "address_info": { + "user_name": "xasdss", + "postal_code": "510983", + "province_name": "广东省", + "city_name": "广州市", + "county_name": "天河区", + "detail_info": "广州市天河区人民政府", + "tel_number": "18829736648", + "lat": 23.12463, + "lng": 113.36199, + "house_number": "12" + }, + "landline": "", + "remark": "", + "send_addr": 0, + "default_send": 1, + "recv_addr": 0, + "default_recv": 1, + "address_type": { + "same_city": 0, + "pickup": 0 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Address/ProductAddressUpdateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetResponse.json new file mode 100644 index 00000000..ec0b3f72 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Brand/ProductBrandGetResponse.json @@ -0,0 +1,15 @@ +{ + "errcode": 0, + "errmsg": "ok", + "brands": [ + { + "first_cat_id": 123, + "second_cat_id": 123, + "third_cat_id": 124, + "brand_info": { + "brand_id": 0, + "brand_name": "测试" + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetRequest.json new file mode 100644 index 00000000..5baf6672 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetRequest.json @@ -0,0 +1,3 @@ +{ + "f_cat_id": 0 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetResponse.json new file mode 100644 index 00000000..5c5ea0de --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Category/ProductCategoryGetResponse.json @@ -0,0 +1,16 @@ +{ + "errcode": 0, + "errmsg": "ok", + "cat_list": [ + { + "cat_id": 1, + "f_cat_id": 0, + "name": "服饰" + }, + { + "cat_id": 2, + "f_cat_id": 0, + "name": "鞋帽" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateRequest.json new file mode 100644 index 00000000..bf569b73 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateRequest.json @@ -0,0 +1,38 @@ +{ + "type": 1, + "name": "双十一特惠满100-50", + "discount_info": { + "discount_condition": { + "product_cnt": 10, + "product_ids": [ + 1673110742, + 1673110743 + ], + "product_price": 100 + }, + "discount_fee": 50, + "discount_num": 5000 + }, + "ext_info": { + "jump_product_id": 1673110742, + "notes": "备注", + "valid_time": 1673110742, + "invalid_time": 1673110742 + }, + "promote_info": { + "customize_channel": "自定义推广渠道,具体内容", + "promote_type": 1 + }, + "receive_info": { + "end_time": 1673110742, + "limit_num_one_person": 1, + "start_time": 1673110742, + "total_num": 100 + }, + "valid_info": { + "end_time": 1673110742, + "start_time": 1673110742, + "valid_day_num": 1, + "valid_type": 1 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateResponse.json new file mode 100644 index 00000000..2ebaacc2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponCreateResponse.json @@ -0,0 +1,7 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "coupon_id": 111 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListRequest.json new file mode 100644 index 00000000..3c6d0b92 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListRequest.json @@ -0,0 +1,7 @@ +{ + "start_create_time": "2020-03-25 12:05:25", + "end_create_time": "2020-04-25 12:05:25", + "status": 2, + "page": 1, + "page_size": 10 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListResponse.json new file mode 100644 index 00000000..03e569f5 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetListResponse.json @@ -0,0 +1,38 @@ +{ + "errcode": 0, + "errmsg": "ok", + "coupons": [ + { + "coupon_id": 123, + "type": 1, + "status": 1, + "create_time": "2020-05-30 00:00:00", + "update_time": "2020-05-30 12:00:00", + "coupon_info": { + "name": "服饰满100-50", + "valid_info": { + "valid_type": "COUPON_VALID_TYPE_TIME", + "valid_day_num": 0, + "start_time": "2020-06-01 00:00:00", + "end_time": "2020-07-01 00:00:00" + }, + "promote_info": { + "promote_type": "PROMOTE_TYPE_SHOP", + "customize_channel": "xxxx" + }, + "discount_info": { + "discount_condition": { + "product_price": 10000, + "product_ids": [] + }, + "discount_fee": 600 + } + }, + "stock_info": { + "issued_num": 100, + "receive_num": 100, + "used_num": 100 + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetRequest.json new file mode 100644 index 00000000..a4aaea20 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetRequest.json @@ -0,0 +1,3 @@ +{ + "coupon_id": 12639900 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetResponse.json new file mode 100644 index 00000000..1b6c7a3f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponGetResponse.json @@ -0,0 +1,27 @@ +{ + "errcode": 0, + "coupon": { + "coupon_id": 12639900, + "type": 103, + "status": 5, + "create_time": "2020-07-16 15:43:05", + "update_time": "2020-07-16 15:58:47", + "coupon_info": { + "name": "scs", + "promote_info": { + "promote_type": "PROMOTE_TYPE_CUSTOMIZE", + "customize_channel": "sc" + }, + "discount_info": { + "discount_num": 9900 + }, + "valid_info": { + "valid_type": "COUPON_VALID_TYPE_TIME", + "valid_day_num": 0, + "start_time": "2020-07-16 00:00:00", + "end_time": "2020-07-23 00:00:00" + } + }, + "stock_info": {} + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusRequest.json new file mode 100644 index 00000000..df4e6699 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusRequest.json @@ -0,0 +1,4 @@ +{ + "coupon_id": 111, + "status": 2 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Coupon/ProductCouponUpdateStatusResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceRequest.json new file mode 100644 index 00000000..109f5fbd --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceRequest.json @@ -0,0 +1,3 @@ +{ + "service_id": 2 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceExperienceResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceRequest.json new file mode 100644 index 00000000..d9de62ba --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceRequest.json @@ -0,0 +1,4 @@ +{ + "switch_status": 1, + "service_id": 2 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationDecorationServiceResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusRequest.json new file mode 100644 index 00000000..109f5fbd --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusRequest.json @@ -0,0 +1,3 @@ +{ + "service_id": 2 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusResponse.json new file mode 100644 index 00000000..41e285e0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationCheckStatusResponse.json @@ -0,0 +1,5 @@ +{ + "status": 1, + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportRequest.json new file mode 100644 index 00000000..70cdefa5 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportRequest.json @@ -0,0 +1,3 @@ +{ + "pressure_id": 666 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportResponse.json new file mode 100644 index 00000000..4134328d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationGetPressureTestReportResponse.json @@ -0,0 +1,21 @@ +{ + "blankpage_pencent": 25, + "aver_time_cost": 2411, + "max_time_cost": 4390, + "total_launch_cnt": 64786, + "total_request_cnt": 1419, + "network_list": [ + { + "path": "https://cube.weixinbridge.com/cube/report/reportbizdata", + "aver_time_cost": 82, + "max_time_cost": 1108, + "total_request_cnt": 1419, + "succ_percent": 100 + } + ], + "appid": "wxb24cc230ace685a3", + "run_time": 300, + "status": 1, + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestResponse.json new file mode 100644 index 00000000..bf7a1f2d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationPressureTestResponse.json @@ -0,0 +1,5 @@ +{ + "pressure_id": 1, + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusRequest.json new file mode 100644 index 00000000..70cdefa5 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusRequest.json @@ -0,0 +1,3 @@ +{ + "pressure_id": 666 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusResponse.json new file mode 100644 index 00000000..41e285e0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Decoration/ProductDecorationWxaProductDecorationQueryPressureTestStatusResponse.json @@ -0,0 +1,5 @@ +{ + "status": 1, + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateResponse.json new file mode 100644 index 00000000..f5db26b9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryGetFreightTemplateResponse.json @@ -0,0 +1,62 @@ +{ + "errcode": 0, + "errmsg": "ok", + "template_list": [ + { + "template_id": 123, + "name": "广东包邮", + "valuation_type": 1, + "send_time": 7, + "address_info": { + "province_name": "北京市", + "city_name": "北京市", + "county_name": "东城区" + }, + "delivery_type": 1, + "delivery_id": [ "" ], + "shipping_method": 2, + "all_condition_free_detail": { + "condition_free_detail_list": [ + { + "address_infos": [ + { + "province_name": "安徽省", + "city_name": "马鞍山市", + "county_name": "" + } + ], + "min_weight": 1, + "min_amount": 100, + "valuation_flag": 1, + "amount_flag": 1 + } + ] + }, + "all_freight_calc_method": { + "freight_calc_method_list": [ + { + "address_info": [ + { + "province_name": "新疆维吾尔自治区" + }, + { + "province_name": "西藏自治区" + } + ], + "is_default": false, + "first_val_amount": 1, + "first_price": 1000, + "second_val_amount": 1, + "second_price": 800 + } + ] + }, + "create_time": 1594968424, + "update_time": 1594968424, + "is_default": 0, + "not_send_area": { + "address_info": [] + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateRequest.json new file mode 100644 index 00000000..93bc8f8b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateRequest.json @@ -0,0 +1,62 @@ +{ + "freight_template": { + "name": "新疆西藏高邮费,北京市条件包邮,其他地区低邮费", + "valuation_type": 1, + "send_time": 7, + "address_info": { + "province_name": "北京市", + "city_name": "北京市", + "county_name": "东城区" + }, + "delivery_type": 1, + "delivery_id": [ "" ], + "shipping_method": 2, + "all_condition_free_detail": { + "condition_free_detail_list": [ + { + "address_infos": [ + { + "province_name": "北京市" + } + ], + "min_piece": 2, + "min_amount": 100, + "valuation_flag": 1, + "amount_flag": 1 + } + ] + }, + "all_freight_calc_method": { + "freight_calc_method_list": [ + { + "address_info": [ + { + "province_name": "新疆维吾尔自治区" + }, + { + "province_name": "西藏自治区" + } + ], + "is_default": false, + "first_val_amount": 1, + "first_price": 1000, + "second_val_amount": 1, + "second_price": 800 + }, + { + "address_info": [], + "is_default": true, + "first_val_amount": 1, + "first_price": 800, + "second_val_amount": 1, + "second_price": 400 + } + + ] + }, + "is_default": 0, + "not_send_area": { + "address_info": [] + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryInsertFreightTemplateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateRequest.json new file mode 100644 index 00000000..8ea7c8c8 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateRequest.json @@ -0,0 +1,63 @@ +{ + "freight_template": { + "template_id": 11846, + "name": "新疆西藏高邮费,北京市条件包邮,其他地区低邮费", + "valuation_type": 1, + "send_time": 7, + "address_info": { + "province_name": "北京市", + "city_name": "北京市", + "county_name": "东城区" + }, + "delivery_type": 1, + "delivery_id": [ "" ], + "shipping_method": 2, + "all_condition_free_detail": { + "condition_free_detail_list": [ + { + "address_infos": [ + { + "province_name": "北京市" + } + ], + "min_piece": 2, + "min_amount": 100, + "valuation_flag": 1, + "amount_flag": 1 + } + ] + }, + "all_freight_calc_method": { + "freight_calc_method_list": [ + { + "address_info": [ + { + "province_name": "新疆维吾尔自治区" + }, + { + "province_name": "西藏自治区" + } + ], + "is_default": false, + "first_val_amount": 1, + "first_price": 1000, + "second_val_amount": 1, + "second_price": 800 + }, + { + "address_info": [], + "is_default": true, + "first_val_amount": 1, + "first_price": 800, + "second_val_amount": 1, + "second_price": 400 + } + + ] + }, + "is_default": 0, + "not_send_area": { + "address_info": [] + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/FreightTemplate/ProductDeliveryUpdateFreightTemplateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListResponse.json new file mode 100644 index 00000000..b54ee663 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliveryGetCompanyListResponse.json @@ -0,0 +1,18 @@ +{ + "errcode": 0, + "errmsg": "ok", + "company_list": [ + { + "delivery_id": "SF", + "delivery_name": "顺丰速运" + }, + { + "delivery_id": "YTO", + "delivery_name": "圆通快速" + }, + { + "delivery_id": "ZTO", + "delivery_name": "中通快速" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendRequest.json new file mode 100644 index 00000000..a07b3554 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendRequest.json @@ -0,0 +1,17 @@ +{ + "order_id": 123456, + "delivery_list": [ + { + "delivery_id": "1", + "is_all_product": true, + "waybill_id": "23424324253", + "product_infos": [ + { + "product_cnt": 0, + "product_id": 0, + "sku_id": 0 + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Delivery/ProductDeliverySendResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddRequest.json new file mode 100644 index 00000000..10feb3e4 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddRequest.json @@ -0,0 +1,17 @@ +{ + "product_id": 20959565, + "start_time": 1614863822, + "end_time": 1614873822, + "limited_discount_sku_list": [ + { + "sku_id": 21244061, + "sale_price": 2888, + "sale_stock": 3 + }, + { + "sku_id": 24350012, + "sale_price": 2600, + "sale_stock": 50 + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddResponse.json new file mode 100644 index 00000000..51155f62 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountAddResponse.json @@ -0,0 +1,3 @@ +{ + "task_id": 346164 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListRequest.json new file mode 100644 index 00000000..512d27e6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListRequest.json @@ -0,0 +1,3 @@ +{ + "status": 0 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListResponse.json new file mode 100644 index 00000000..711e7c2e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountGetListResponse.json @@ -0,0 +1,35 @@ +{ + "errcode": 0, + "limited_discount_list": [ + { + "task_id": 285135, + "product_id": 2206705, + "status": 0, + "create_time": 1614759730, + "start_time": 1614759660, + "end_time": 1614846119, + "limited_discount_sku_list": [ + { + "sku_id": 8147206, + "sale_price": 200, + "sale_stock": 10 + } + ] + }, + { + "task_id": 285131, + "product_id": 2437954, + "status": 0, + "create_time": 1614759243, + "start_time": 1614759180, + "end_time": 1614845639, + "limited_discount_sku_list": [ + { + "sku_id": 8297366, + "sale_price": 1500, + "sale_stock": 100 + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusRequest.json new file mode 100644 index 00000000..81df4282 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusRequest.json @@ -0,0 +1,4 @@ +{ + "task_id": 325286, + "status": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusResponse.json new file mode 100644 index 00000000..27dc7b40 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/LimitedDiscount/ProductLimitedDiscountUpdateStatusResponse.json @@ -0,0 +1,3 @@ +{ + "errcode": 0 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateResponse.json new file mode 100644 index 00000000..82dd18a0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetPickupTemplateResponse.json @@ -0,0 +1,15 @@ +{ + "errcode": 0, + "errmsg": "", + "pickup_template": { + "template_id": 59529, + "pickup_time": { + "start_business_hour": 9, + "start_business_minute": 30, + "end_business_hour": 22, + "end_business_minute": 0, + "promise_delivery_minutes": 60, + "book_time": 1440 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateResponse.json new file mode 100644 index 00000000..199408f4 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineGetSameCityTemplateResponse.json @@ -0,0 +1,26 @@ +{ + "errcode": 0, + "errmsg": "", + "same_city_template": { + "template_id": 60114, + "shipper": "Shipper_MerchantSend", + "scope": 5000, + "same_city_valuation": { + "type": "ValuationType_Free" + }, + "special_time": { + "type": "ValuationType_Free" + }, + "delivery_time": { + "start_business_hour": 9, + "start_business_minute": 30, + "end_business_hour": 22, + "end_business_minute": 0, + "book_time": 1440, + "first_val_meter": 3000, + "first_val_minutes": 30, + "second_val_meter": 1000, + "second_val_minutes": 10 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateRequest.json new file mode 100644 index 00000000..e779bcce --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateRequest.json @@ -0,0 +1,13 @@ +{ + "pickup_template": { + "template_id": 59529, + "pickup_time": { + "start_business_hour": 9, + "start_business_minute": 30, + "end_business_hour": 22, + "end_business_minute": 0, + "promise_delivery_minutes": 60, + "book_time": 1440 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdatePickupTemplateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateRequest.json new file mode 100644 index 00000000..c4f26164 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateRequest.json @@ -0,0 +1,24 @@ +{ + "same_city_template": { + "template_id": 60114, + "shipper": 1, + "scope": 5000, + "same_city_valuation": { + "type": 0 + }, + "special_time": { + "type": 0 + }, + "delivery_time": { + "start_business_hour": 9, + "start_business_minute": 30, + "end_business_hour": 22, + "end_business_minute": 0, + "book_time": 1440, + "first_val_meter": 3000, + "first_val_minutes": 30, + "second_val_meter": 1000, + "second_val_minutes": 10 + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Offline/ProductOfflineUpdateSameCityTemplateResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserRequest.json new file mode 100644 index 00000000..972eb891 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserRequest.json @@ -0,0 +1,4 @@ +{ + "openid": "I_AM_JUST_AN_EXAMPLE", + "status": 100 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserResponse.json new file mode 100644 index 00000000..15ee9cad --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponGetUserResponse.json @@ -0,0 +1,18 @@ +{ + "errcode": 0, + "user_coupon_list": [ + { + "coupon_id": 12639900, + "status": "COUPON_USER_STATUS_VALID", + "create_time": "2020-05-30 00:00:00", + "update_time": "2020-05-30 12:00:00", + "start_time": "2020-05-30 18:00:00", + "end_time": "2020-05-30 20:00:00", + "ext_info": { + "use_time": "2020-05-30 19:00:00" + }, + "order_id": 123, + "discount_fee": 123 + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushRequest.json new file mode 100644 index 00000000..c9064e46 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushRequest.json @@ -0,0 +1,4 @@ +{ + "openid": "xxxx", + "coupon_id": 123 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductCouponPushResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListRequest.json new file mode 100644 index 00000000..567f5acc --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListRequest.json @@ -0,0 +1,8 @@ +{ + "start_create_time": "2020-03-25 12:05:25", + "end_create_time": "2020-04-25 12:05:25", + "status": 20, + "page": 1, + "page_size": 10, + "source": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListResponse.json new file mode 100644 index 00000000..fbc58955 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetListResponse.json @@ -0,0 +1,87 @@ +{ + "errcode": 0, + "errmsg": "ok", + "orders": [ + { + "order_id": 12123121332, + "out_order_id": "faefawefweafawe", + "status": 20, + "create_time": "2020-03-25 13:05:25", + "update_time": "2020-03-25 14:05:25", + "order_detail": { + "product_infos": [ + { + "product_id": 234245, + "sku_id": 23424, + "sku_cnt": 10, + "on_aftersale_sku_cnt": 10, + "finish_aftersale_sku_cnt": 0, + "title": "健身环", + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + } + ], + "sale_price": 2000 + } + ], + "pay_info": { + "pay_method": "微信支付", + "prepay_id": "42526234625", + "transaction_id": "131456479687", + "prepay_time": "2020-03-25 14:04:25", + "pay_time": "2020-03-25 14:05:25" + }, + "price_info": { + "product_price": 20000, + "order_price": 10500, + "freight": 500, + "discounted_price": 10000, + "is_discounted": true + }, + "delivery_info": { + "delivery_method": "快递", + "delivery_time": "2020-03-25 16:05:25", + "delivery_product_info": { + "waybill_id": "134654612313", + "delivery_id": "STO" + }, + "address_info": { + "user_name": "陈先生", + "postal_code": "2435245", + "province_name": "广东", + "city_name": "广州", + "county_name": "海珠区", + "detail_info": "大塘", + "national_code": "234234", + "tel_number": "24534252" + }, + "express_fee": [ + { + "shipping_method": "ShippingMethod_Express", + "distance": 0 + } + ], + "offline_delivery_time": 0, + "offline_pickup_time": 0, + "ship_done_time": "1620738080" + } + }, + "aftersale_detail": { + "aftersale_order_list": [ + { + "aftersale_order_id": 1234 + } + ], + "on_aftersale_order_cnt": 1 + }, + "openid": "xxxxx", + "ext_info": { + "customer_notes": "发顺丰", + "merchant_notes": "库存不足,取消" + } + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetRequest.json new file mode 100644 index 00000000..0aee5416 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetRequest.json @@ -0,0 +1,3 @@ +{ + "order_id": 32423523451235145 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetResponse.json new file mode 100644 index 00000000..2ddcab1e --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderGetResponse.json @@ -0,0 +1,85 @@ +{ + "errcode": 0, + "errmsg": "ok", + "order": { + "order_id": 12123121332, + "out_order_id": "faefawefweafawe", + "status": 20, + "create_time": "2020-03-25 13:05:25", + "update_time": "2020-03-25 14:05:25", + "order_detail": { + "product_infos": [ + { + "product_id": 234245, + "sku_id": 23424, + "sku_cnt": 10, + "on_aftersale_sku_cnt": 10, + "finish_aftersale_sku_cnt": 0, + "title": "健身环", + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + } + ], + "sale_price": 2000 + } + ], + "pay_info": { + "pay_method": "微信支付", + "prepay_id": "42526234625", + "transaction_id": "131456479687", + "prepay_time": "2020-03-25 14:04:25", + "pay_time": "2020-03-25 14:05:25" + }, + "price_info": { + "product_price": 20000, + "order_price": 10500, + "freight": 500, + "discounted_price": 10000, + "is_discounted": true + }, + "delivery_info": { + "delivery_method": "快递", + "delivery_time": "2020-03-25 16:05:25", + "delivery_product_info": { + "waybill_id": "134654612313", + "delivery_id": "STO" + }, + "address_info": { + "user_name": "陈先生", + "postal_code": "2435245", + "province_name": "广东", + "city_name": "广州", + "county_name": "海珠区", + "detail_info": "大塘", + "national_code": "234234", + "tel_number": "24534252" + }, + "express_fee": [ + { + "shipping_method": "ShippingMethod_Express", + "distance": 0 + } + ], + "offline_delivery_time": 0, + "offline_pickup_time": 0, + "ship_done_time": "1620738080" + } + }, + "aftersale_detail": { + "aftersale_order_list": [ + { + "aftersale_order_id": 1234 + } + ], + "on_aftersale_order_cnt": 1 + }, + "openid": "xxxxx", + "ext_info": { + "customer_notes": "发顺丰", + "merchant_notes": "库存不足,取消" + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchRequest.json new file mode 100644 index 00000000..b119fea9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchRequest.json @@ -0,0 +1,14 @@ +{ + "start_pay_time": "2020-03-25 12:05:25", + "end_pay_time": "2020-04-25 12:05:25", + "title": "标题关键字", + "sku_code": "12321", + "user_name": "张三", + "tel_number": "13700000000", + "on_aftersale_order_exist": 0, + "status": 20, + "source": 1, + "order_id": 123, + "page": 1, + "page_size": 10 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchResponse.json new file mode 100644 index 00000000..a3759a15 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Order/ProductOrderSearchResponse.json @@ -0,0 +1,88 @@ +{ + "errcode": 0, + "errmsg": "ok", + "orders": [ + { + "order_id": 12123121332, + "out_order_id": "faefawefweafawe", + "status": 20, + "create_time": "2020-03-25 13:05:25", + "update_time": "2020-03-25 14:05:25", + "order_detail": { + "product_infos": [ + { + "product_id": 234245, + "sku_id": 23424, + "sku_cnt": 10, + "on_aftersale_sku_cnt": 10, + "finish_aftersale_sku_cnt": 0, + "title": "健身环", + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + } + ], + "sale_price": 2000 + } + ], + "pay_info": { + "pay_method": "微信支付", + "prepay_id": "42526234625", + "transaction_id": "131456479687", + "prepay_time": "2020-03-25 14:04:25", + "pay_time": "2020-03-25 14:05:25" + }, + "price_info": { + "product_price": 20000, + "order_price": 10500, + "freight": 500, + "discounted_price": 10000, + "is_discounted": true + }, + "delivery_info": { + "delivery_method": "快递", + "delivery_time": "2020-03-25 16:05:25", + "delivery_product_info": { + "waybill_id": "134654612313", + "delivery_id": "STO" + }, + "address_info": { + "user_name": "陈先生", + "postal_code": "2435245", + "province_name": "广东", + "city_name": "广州", + "county_name": "海珠区", + "detail_info": "大塘", + "national_code": "234234", + "tel_number": "24534252" + }, + "express_fee": [ + { + "shipping_method": "ShippingMethod_Express", + "distance": 0 + } + ], + "offline_delivery_time": 0, + "offline_pickup_time": 0, + "ship_done_time": "1620738080" + } + }, + "aftersale_detail": { + "aftersale_order_list": [ + { + "aftersale_order_id": 1234 + } + ], + "on_aftersale_order_cnt": 1 + }, + "openid": "xxxxx", + "ext_info": { + "customer_notes": "发顺丰", + "merchant_notes": "库存不足,取消" + } + } + ], + "total_num": 20 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusRequest.json new file mode 100644 index 00000000..a27121d9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusRequest.json @@ -0,0 +1,3 @@ +{ + "wx_name": "xxx" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusResponse.json new file mode 100644 index 00000000..4f1fe5eb --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterCheckAuditStatusResponse.json @@ -0,0 +1,18 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "merchant_info_status": 0, + "acct_verify_status": 0, + "basic_info_status": 0, + "pay_sign_status": 0, + "audit_reject_reasons": "基础信息驳回原因", + "legal_validation_url": "法人验证链接", + "pay_audit_detail": { + "param_name": "参数名", + "reject_reason": "支付资质驳回原因" + }, + "register_status": 0, + "registered_appid": "wxe11234123123" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopRequest.json new file mode 100644 index 00000000..a5f5df77 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopRequest.json @@ -0,0 +1,7 @@ +{ + "wx_name": "xxx", + "id_card_name": "张三", + "id_card_number": "121321412", + "channel_id": "4", + "api_openstore_type": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterRegisterShopResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoRequest.json new file mode 100644 index 00000000..728f3256 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoRequest.json @@ -0,0 +1,33 @@ +{ + "appid": "xxx", + "name_info": { + "nickname": "昵称", + "abbr": "简称", + "introduction": "简介", + "naming_other_stuff": [ "补充材料" ] + }, + "return_info": { + "address_info": { + "user_name": "陈先生", + "postal_code": "2435245", + "province_name": "广东", + "city_name": "广州", + "county_name": "海珠区", + "detail_info": "大塘", + "national_code": "234234", + "tel_number": "24534252" + }, + "mail": "邮箱", + "company_address": { + "user_name": "陈先生", + "postal_code": "2435245", + "province_name": "广东", + "city_name": "广州", + "county_name": "海珠区", + "detail_info": "大塘", + "national_code": "234234", + "tel_number": "24534252" + } + } + +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitBasicInfoResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json new file mode 100644 index 00000000..e9253f7c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoRequest.json @@ -0,0 +1,65 @@ +{ + "appid": "xxx", + "subject_type": 4, + "busi_license": { + "license_type": 1, + "pic_file": { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + }, + "registration_num": "证件注册号", + "merchant_name": "商户名称", + "legal_representative": "法定代表人", + "registered_addrs": "注册地址", + "start_date": "注册日期", + "end_date": "有效期至" + }, + "organization_code_info": { + "pic_file": { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + }, + "organization_code": "组织机构代码", + "start_date": "注册日期", + "end_date": "有效期至" + }, + "id_card_info": { + "portrait_pic_file": { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + }, + "nation_pic_file": { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + }, + "id_card_name": "张三", + "id_card_number": "121321412", + "start_date": "注册日期", + "end_date": "有效期至" + }, + "super_administrator_info": { + "type": 65, + "name": "姓名", + "id_card_number": "身份证件号码", + "phone": "手机号", + "mail": "邮箱" + }, + "merchant_shortname": "商户简称", + "special_qualification": { + "pic_file_list": [ + { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + } + ] + }, + "supplementary_material": { + "pic_file_list": [ + { + "media_id": "xlvjalsdhgas", + "pay_media_id": "asdgasvdadfa" + } + ] + }, + "supplementary_desc": "补充描述" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Register/ProductRegisterSubmitMerchantInfoResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddRequest.json new file mode 100644 index 00000000..9bb1c624 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddRequest.json @@ -0,0 +1,21 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "out_sku_id": "1024", + "thumb_img": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": "13251454", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddResponse.json new file mode 100644 index 00000000..cb977df2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUAddResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "sku_id": 2342523452352345, + "create_time": "2020-03-25 12:05:25" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddRequest.json new file mode 100644 index 00000000..d1fc0baa --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddRequest.json @@ -0,0 +1,25 @@ +{ + "skus": [ + { + "product_id": 23423523452345235, + "out_product_id": "1234566", + "out_sku_id": "1024", + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/100778/17/13648/424215/5e590a40E2d68e774/e171d222a0c9b763.jpg", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": "13251454", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddResponse.json new file mode 100644 index 00000000..998ad157 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUBatchAddResponse.json @@ -0,0 +1,11 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": [ + { + "sku_id": 12343455, + "out_sku_id": "1024", + "create_time": "2020-03-25 12:05:25" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteRequest.json new file mode 100644 index 00000000..10b653b9 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteRequest.json @@ -0,0 +1,6 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "out_sku_id": "1024", + "sku_id": 2352525 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUDeleteResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListRequest.json new file mode 100644 index 00000000..44808764 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListRequest.json @@ -0,0 +1,5 @@ +{ + "product_id": 23423523452345235, + "need_edit_sku": 1, + "need_real_stock": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListResponse.json new file mode 100644 index 00000000..ea3a3319 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetListResponse.json @@ -0,0 +1,28 @@ +{ + "errcode": 0, + "errmsg": "ok", + "skus": [ + { + "product_id": 23423523452345235, + "out_product_id": "1234566", + "out_sku_id": "1024", + "sku_id": 2352525, + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/100778/17/13648/424215/5e590a40E2d68e774/e171d222a0c9b763.jpg", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": 13251454, + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetRequest.json new file mode 100644 index 00000000..1ba79ff6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetRequest.json @@ -0,0 +1,6 @@ +{ + "out_sku_id": "1024", + "sku_id": 2352525, + "need_edit_sku": 1, + "need_real_stock": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetResponse.json new file mode 100644 index 00000000..c17f5987 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUGetResponse.json @@ -0,0 +1,27 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "product_id": 23423523452345235, + "out_product_id": "1234566", + "out_sku_id": "1024", + "sku_id": 2352525, + "thumb_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/100778/17/13648/424215/5e590a40E2d68e774/e171d222a0c9b763.jpg", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": 13251454, + "status": 5, + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceRequest.json new file mode 100644 index 00000000..c76c1685 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceRequest.json @@ -0,0 +1,8 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "sku_id": 1343, + "out_sku_id": "1024", + "sale_price": 1300, + "market_price": 1500 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceResponse.json new file mode 100644 index 00000000..f254fc74 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdatePriceResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "sku_id": 2342523452352345, + "update_time": "2020-03-25 12:05:25" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateRequest.json new file mode 100644 index 00000000..aced3ffd --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateRequest.json @@ -0,0 +1,22 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "sku_id": 1343, + "out_sku_id": "1024", + "thumb_img": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": "13251454", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateResponse.json new file mode 100644 index 00000000..f254fc74 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SKU/ProductSKUUpdateResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "sku_id": 2342523452352345, + "update_time": "2020-03-25 12:05:25" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddRequest.json new file mode 100644 index 00000000..b435e8e4 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddRequest.json @@ -0,0 +1,64 @@ +{ + "out_product_id": "1234566", + "title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机", + "sub_title": "JD自营更放心】【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩。", + "head_img": [ + "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50" + ], + "desc_info": { + "imgs": [ + "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50" + ] + }, + "brand_id": 2100000000, + "cats": [ + { + "cat_id": 6033, + "level": 1 + }, + { + "cat_id": 6057, + "level": 2 + }, + { + "cat_id": 6091, + "level": 3 + } + ], + "attrs": [ + { + "attr_key": "商品毛重", + "attr_value": "380g" + }, + { + "attr_key": "商品产地", + "attr_value": "中国大陆" + } + ], + "model": "国行续航增强版", + "express_info": { + "template_id": 5189 + }, + "skus": [ + { + "out_product_id": "1234566", + "out_sku_id": "1024", + "thumb_img": "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50", + "sale_price": 1300, + "market_price": 1500, + "stock_num": 100, + "sku_code": "A24525252", + "barcode": "13251454", + "sku_attrs": [ + { + "attr_key": "选择颜色", + "attr_value": "红蓝主机" + }, + { + "attr_key": "选择套装", + "attr_value": "主机+保护套" + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddResponse.json new file mode 100644 index 00000000..82a5523c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUAddResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "product_id": 23423523452345235, + "out_product_id": "1234566", + "create_time": "2020-03-25 12:05:25" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteRequest.json new file mode 100644 index 00000000..d8cb1eba --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteRequest.json @@ -0,0 +1,4 @@ +{ + "product_id": 324545, + "out_product_id": "51514515" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDeleteResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingRequest.json new file mode 100644 index 00000000..153945e6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingRequest.json @@ -0,0 +1,4 @@ +{ + "product_id": 1234234, + "out_product_id": "1234566" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUDelistingResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListRequest.json new file mode 100644 index 00000000..6afe7be1 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListRequest.json @@ -0,0 +1,6 @@ +{ + "status": 5, + "page": 1, + "page_size": 10, + "need_edit_spu": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListResponse.json new file mode 100644 index 00000000..23b7f6a2 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetListResponse.json @@ -0,0 +1,67 @@ +{ + "errcode": 0, + "errmsg": "ok", + "total_num": 1, + "spus": [ + { + "title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机", + "sub_title": "JD自营更放心】【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩。", + "head_img": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ], + "desc_info": { + "imgs": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ] + }, + "out_product_id": "1234566", + "product_id": 12345, + "brand_id": 2352, + "status": 5, + "edit_status": 2, + "min_price": 100, + "path": "plugin-private://wx34345ae5855f892d/pages/productDetail/productDetail?productId=12345", + "cats": [ + { + "cat_id": 1, + "level": 1 + }, + { + "cat_id": 2, + "level": 2 + }, + { + "cat_id": 3, + "level": 3 + } + ], + "attrs": [ + { + "attr_key": "商品毛重", + "attr_value": "380g" + }, + { + "attr_key": "商品产地", + "attr_value": "中国大陆" + } + ], + "model": "国行续航增强版", + "shopcat": [ + { + "shopcat_id": 1 + }, + { + "shopcat_id": 2 + } + ], + "skus": [ + { + "sku_id": 1001 + }, + { + "sku_id": 1002 + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetRequest.json new file mode 100644 index 00000000..5c94a777 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetRequest.json @@ -0,0 +1,5 @@ +{ + "product_id": 324545, + "out_product_id": "51514515", + "need_edit_spu": 1 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetResponse.json new file mode 100644 index 00000000..2f7957fe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUGetResponse.json @@ -0,0 +1,65 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "spu": { + "title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机", + "sub_title": "JD自营更放心】【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩。", + "head_img": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ], + "desc_info": { + "imgs": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ] + }, + "out_product_id": "1234566", + "product_id": 12345, + "brand_id": 2352, + "status": 5, + "edit_status": 2, + "min_price": 100, + "cats": [ + { + "cat_id": 1, + "level": 1 + }, + { + "cat_id": 2, + "level": 2 + }, + { + "cat_id": 3, + "level": 3 + } + ], + "attrs": [ + { + "attr_key": "商品毛重", + "attr_value": "380g" + }, + { + "attr_key": "商品产地", + "attr_value": "中国大陆" + } + ], + "model": "国行续航增强版", + "shopcat": [ + { + "shopcat_id": 1 + }, + { + "shopcat_id": 2 + } + ], + "skus": [ + { + "sku_id": 1001 + }, + { + "sku_id": 1002 + } + ] + } + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingRequest.json new file mode 100644 index 00000000..153945e6 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingRequest.json @@ -0,0 +1,4 @@ +{ + "product_id": 1234234, + "out_product_id": "1234566" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingResponse.json new file mode 100644 index 00000000..f752befe --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUListingResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "ok" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchRequest.json new file mode 100644 index 00000000..26388080 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchRequest.json @@ -0,0 +1,6 @@ +{ + "keyword": "测试", + "source": 1, + "page": 1, + "page_size": 10 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchResponse.json new file mode 100644 index 00000000..ea5dddb0 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUSearchResponse.json @@ -0,0 +1,66 @@ +{ + "errcode": 0, + "errmsg": "ok", + "spus": [ + { + "title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机", + "sub_title": "JD自营更放心】【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩。", + "head_img": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ], + "desc_info": { + "imgs": [ + "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg" + ] + }, + "out_product_id": "1234566", + "product_id": 12345, + "brand_id": 2352, + "status": 5, + "edit_status": 2, + "min_price": 100, + "path": "plugin-private://wx34345ae5855f892d/pages/productDetail/productDetail?productId=12345", + "cats": [ + { + "cat_id": 1, + "level": 1 + }, + { + "cat_id": 2, + "level": 2 + }, + { + "cat_id": 3, + "level": 3 + } + ], + "attrs": [ + { + "attr_key": "商品毛重", + "attr_value": "380g" + }, + { + "attr_key": "商品产地", + "attr_value": "中国大陆" + } + ], + "model": "国行续航增强版", + "shopcat": [ + { + "shopcat_id": 1 + }, + { + "shopcat_id": 2 + } + ], + "skus": [ + { + "sku_id": 1001 + }, + { + "sku_id": 1002 + } + ] + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateRequest.json new file mode 100644 index 00000000..e2b694fa --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateRequest.json @@ -0,0 +1,43 @@ +{ + "product_id": 1234234, + "out_product_id": "1234566", + "title": "任天堂 Nintendo Switch 国行续航增强版 NS家用体感游戏机掌机 便携掌上游戏机 红蓝主机", + "sub_title": "JD自营更放心】【国行Switch,更安心的保修服务,更快的国行服务器】一台主机三种模式,游戏掌机,随时随地,一起趣玩。", + "head_img": [ + "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50" + ], + "desc_info": { + "imgs": [ + "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SZ/reserved/6059ade300096eb200000000f19f9d09000000a000004f50" + ] + }, + "brand_id": 2100000000, + "cats": [ + { + "cat_id": 6033, + "level": 1 + }, + { + "cat_id": 6057, + "level": 2 + }, + { + "cat_id": 6091, + "level": 3 + } + ], + "attrs": [ + { + "attr_key": "商品毛重", + "attr_value": "380g" + }, + { + "attr_key": "商品产地", + "attr_value": "中国大陆" + } + ], + "model": "国行续航增强版", + "express_info": { + "template_id": 5189 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateResponse.json new file mode 100644 index 00000000..c2b693df --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/SPU/ProductSPUUpdateResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "product_id": 23423523452345235, + "out_product_id": "1234566", + "update_time": "2020-06-20 10:00:00" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthRequest.json new file mode 100644 index 00000000..7d4bd418 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthRequest.json @@ -0,0 +1,3 @@ +{ + "code": "324545" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthResponse.json new file mode 100644 index 00000000..29b8a8c7 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceCheckAuthResponse.json @@ -0,0 +1,8 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "appid": "wx666666666", + "service_id": 123 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListResponse.json new file mode 100644 index 00000000..91095fd4 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetListResponse.json @@ -0,0 +1,12 @@ +{ + "errcode": 0, + "errmsg": "ok", + "service_list": [ + { + "service_id": 12, + "service_name": "一键搬家", + "expire_time": "2020-08-05 00:00:00", + "service_type": 2 + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListRequest.json new file mode 100644 index 00000000..99ed8047 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListRequest.json @@ -0,0 +1,6 @@ +{ + "start_create_time": "2020-03-25 12:05:25", + "end_create_time": "2020-04-25 12:05:25", + "page": 1, + "page_size": 10 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListResponse.json new file mode 100644 index 00000000..dcc69afc --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Service/ProductServiceGetOrderListResponse.json @@ -0,0 +1,17 @@ +{ + "errcode": 0, + "errmsg": "ok", + "service_order_list": [ + { + "service_order_id": 12345, + "service_id": 12, + "service_name": "一键搬家", + "create_time": "2020-08-05 00:00:00", + "expire_time": "2020-08-05 12:00:00", + "service_type": 2, + "specification_id": "move_goods", + "total_price": 100, + "status": 1 + } + ] +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetRequest.json new file mode 100644 index 00000000..8593c62d --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetRequest.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetResponse.json new file mode 100644 index 00000000..6de4634a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsGetResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "", + "supported_shipping_methods": { + "express": 0, + "same_city": 1, + "pickup": 0 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetRequest.json new file mode 100644 index 00000000..8a585b9a --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetRequest.json @@ -0,0 +1,7 @@ +{ + "supported_shipping_methods": { + "express": 0, + "same_city": 0, + "pickup": 0 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetResponse.json new file mode 100644 index 00000000..45dd9be3 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/ShipMethods/ProductShipMethodsSetResponse.json @@ -0,0 +1,4 @@ +{ + "errcode": 0, + "errmsg": "" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetRequest.json new file mode 100644 index 00000000..eb9ba603 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetRequest.json @@ -0,0 +1,6 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "sku_id": 1343, + "out_sku_id": "1024" +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetResponse.json new file mode 100644 index 00000000..89400dc1 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockGetResponse.json @@ -0,0 +1,7 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "stock_num": 100 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateRequest.json new file mode 100644 index 00000000..15927994 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateRequest.json @@ -0,0 +1,8 @@ +{ + "product_id": 23423523452345235, + "out_product_id": "1234566", + "sku_id": 1343, + "out_sku_id": "1024", + "type": 1, + "stock_num": 100 +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateResponse.json new file mode 100644 index 00000000..1e53542c --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Stock/ProductStockUpdateResponse.json @@ -0,0 +1,7 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "update_time": "2020-03-25 12:05:25" + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoResponse.json new file mode 100644 index 00000000..14e27e92 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetInfoResponse.json @@ -0,0 +1,9 @@ +{ + "errcode": 0, + "errmsg": "ok", + "data": { + "store_name": "xxx商城", + "logo": "http://xxxx.png", + "type": 1 + } +} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryRequest.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryRequest.json new file mode 100644 index 00000000..22fdca1b --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryRequest.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryResponse.json b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryResponse.json new file mode 100644 index 00000000..1bc6735f --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.Api.UnitTests/ModelSamples/Product/Store/ProductStoreGetShopCategoryResponse.json @@ -0,0 +1,12 @@ +{ + "errcode": 0, + "errmsg": "ok", + "shopcat_list": [ + { + "shopcat_id": 123, + "shopcat_name": "食品", + "f_shopcat_id": 0, + "cat_level": 1 + } + ] +} \ No newline at end of file