本文主要是介绍副本技能-亚马逊SP-API的依赖SDK包生产,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.环境配置
需求:Java环境,Maven环境,均需配置环境变量(可自行百度)!
2.下载api的接口模块代码
selling-partner-api-models项目GitHub库
3.下载 Swagger 代码生成器
Swagger代码生成器下载地址
自己找个目放着就好
4.查找SDK的配置JSON文件
SDK的接口配置JSON路径:selling-partner-api-models\models\sellers-api-model
涉及部分有 37个
aplus-content-api
authorization-api
catalog-items-api
fba-inbound-eligibility-api
fba-inventory-api
fba-small-and-light-api
feeds-api
finances-api
fulfillment-inbound-api
fulfillment-outbound-api
listings-items-api
listings-restrictions-api
merchant-fulfillment-api
messaging-api
notifications-api
orders-api
product-fees-api
product-pricing-api
product-type-definitions-api
reports-api
sales-api
sellers-api
services-api
shipment-invoicing-api
shipping-api
solicitations-api
tokens-api
uploads-api
vendor-direct-fulfillment-inventory-api
vendor-direct-fulfillment-orders-api
vendor-direct-fulfillment-payments-api
vendor-direct-fulfillment-shipping-api
vendor-direct-fulfillment-transactions-api
vendor-invoices-api
vendor-orders-api
vendor-shipments-api
vendor-transaction-status-api
// ##标注部分代表有多个版本的API
selling-partner-api-models\models\aplus-content-api-model\aplusContent_2020-11-01.json
selling-partner-api-models\models\authorization-api-model\authorization.json
##selling-partner-api-models\models\catalog-items-api-model\catalogItems_2020-12-01.json
##selling-partner-api-models\models\catalog-items-api-model\catalogItemsV0.json
selling-partner-api-models\models\fba-inbound-eligibility-api-model\fbaInbound.json
selling-partner-api-models\models\fba-inventory-api-model\fbaInventory.json
selling-partner-api-models\models\fba-small-and-light-api-model\fbaSmallandLight.json
##selling-partner-api-models\models\feeds-api-model\feeds_2020-09-04.json
##selling-partner-api-models\models\feeds-api-model\feeds_2021-06-30.json
selling-partner-api-models\models\finances-api-model\financesV0.json
selling-partner-api-models\models\fulfillment-inbound-api-model\fulfillmentInboundV0.json
selling-partner-api-models\models\fulfillment-outbound-api-model\fulfillmentOutbound_2020-07-01.json
##selling-partner-api-models\models\listings-items-api-model\listingsItems_2020-09-01.json
##selling-partner-api-models\models\listings-items-api-model\listingsItems_2021-08-01.json
selling-partner-api-models\models\listings-restrictions-api-model\listingsRestrictions_2021-08-01.json
selling-partner-api-models\models\merchant-fulfillment-api-model\merchantFulfillmentV0.json
selling-partner-api-models\models\messaging-api-model\messaging.json
selling-partner-api-models\models\notifications-api-model\notifications.json
selling-partner-api-models\models\orders-api-model\ordersV0.json
selling-partner-api-models\models\product-fees-api-model\productFeesV0.json
selling-partner-api-models\models\product-pricing-api-model\productPricingV0.json
selling-partner-api-models\models\product-type-definitions-api-model\definitionsProductTypes_2020-09-01.json
##selling-partner-api-models\models\reports-api-model\reports_2020-09-04.json
##selling-partner-api-models\models\reports-api-model\reports_2021-06-30.json
selling-partner-api-models\models\sales-api-model\sales.json
selling-partner-api-models\models\sellers-api-model\sellers.json
selling-partner-api-models\models\services-api-model\services.json
selling-partner-api-models\models\shipment-invoicing-api-model\shipmentInvoicingV0.json
selling-partner-api-models\models\shipping-api-model\shipping.json
selling-partner-api-models\models\solicitations-api-model\solicitations.json
selling-partner-api-models\models\tokens-api-model\tokens_2021-03-01.json
selling-partner-api-models\models\uploads-api-model\uploads_2020-11-01.json
selling-partner-api-models\models\vendor-direct-fulfillment-inventory-api-model\vendorDirectFulfillmentInventoryV1.json
selling-partner-api-models\models\vendor-direct-fulfillment-orders-api-model\vendorDirectFulfillmentOrdersV1.json
selling-partner-api-models\models\vendor-direct-fulfillment-payments-api-model\vendorDirectFulfillmentPaymentsV1.json
selling-partner-api-models\models\vendor-direct-fulfillment-shipping-api-model\vendorDirectFulfillmentShippingV1.json
selling-partner-api-models\models\vendor-direct-fulfillment-transactions-api-model\vendorDirectFulfillmentTransactionsV1.json
selling-partner-api-models\models\vendor-invoices-api-model\vendorInvoices.json
selling-partner-api-models\models\vendor-orders-api-model\vendorOrders.json
selling-partner-api-models\models\vendor-shipments-api-model\vendorShipments.json
selling-partner-api-models\models\vendor-transaction-status-api-model\vendorTransactionStatus.json
5.代码生成命令如下
// 共计json文件有41个
java -jar [Swagger路径]\swagger-codegen-cli.jar generate -i [JSON文件路径]\Sellers.json -l java -t [selling-partner-api-models路径]\clients\sellingpartner-api-aa-java\resources\swagger-codegen\templates\ -o [生产代码存放目录]
6.使用工具批量生成命令
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/aplus-content-api-model/aplusContent_2020-11-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_aplusContent_2020-11-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/authorization-api-model/authorization.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_authorization.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/catalog-items-api-model/catalogItems_2020-12-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_catalogItems_2020-12-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/catalog-items-api-model/catalogItemsV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_catalogItemsV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/fba-inbound-eligibility-api-model/fbaInbound.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_fbaInbound.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/fba-inventory-api-model/fbaInventory.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_fbaInventory.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/fba-small-and-light-api-model/fbaSmallandLight.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_fbaSmallandLight.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/feeds-api-model/feeds_2020-09-04.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_feeds_2020-09-04.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/feeds-api-model/feeds_2021-06-30.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_feeds_2021-06-30.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/finances-api-model/financesV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_financesV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/fulfillment-inbound-api-model/fulfillmentInboundV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_fulfillmentInboundV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/fulfillment-outbound-api-model/fulfillmentOutbound_2020-07-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_fulfillmentOutbound_2020-07-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/listings-items-api-model/listingsItems_2020-09-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_listingsItems_2020-09-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/listings-items-api-model/listingsItems_2021-08-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_listingsItems_2021-08-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/listings-restrictions-api-model/listingsRestrictions_2021-08-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_listingsRestrictions_2021-08-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/merchant-fulfillment-api-model/merchantFulfillmentV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_merchantFulfillmentV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/messaging-api-model/messaging.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_messaging.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/notifications-api-model/notifications.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_notifications.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/orders-api-model/ordersV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_ordersV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/product-fees-api-model/productFeesV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_productFeesV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/product-pricing-api-model/productPricingV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_productPricingV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/product-type-definitions-api-model/definitionsProductTypes_2020-09-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_definitionsProductTypes_2020-09-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/reports-api-model/reports_2020-09-04.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_reports_2020-09-04.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/reports-api-model/reports_2021-06-30.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_reports_2021-06-30.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/sales-api-model/sales.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_sales.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/sellers-api-model/sellers.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_sellers.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/services-api-model/services.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_services.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/shipment-invoicing-api-model/shipmentInvoicingV0.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_shipmentInvoicingV0.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/shipping-api-model/shipping.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_shipping.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/solicitations-api-model/solicitations.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_solicitations.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/tokens-api-model/tokens_2021-03-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_tokens_2021-03-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/uploads-api-model/uploads_2020-11-01.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_uploads_2020-11-01.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-direct-fulfillment-inventory-api-model/vendorDirectFulfillmentInventoryV1.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorDirectFulfillmentInventoryV1.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-direct-fulfillment-orders-api-model/vendorDirectFulfillmentOrdersV1.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorDirectFulfillmentOrdersV1.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-direct-fulfillment-payments-api-model/vendorDirectFulfillmentPaymentsV1.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorDirectFulfillmentPaymentsV1.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-direct-fulfillment-shipping-api-model/vendorDirectFulfillmentShippingV1.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorDirectFulfillmentShippingV1.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-direct-fulfillment-transactions-api-model/vendorDirectFulfillmentTransactionsV1.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorDirectFulfillmentTransactionsV1.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-invoices-api-model/vendorInvoices.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorInvoices.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-orders-api-model/vendorOrders.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorOrders.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-shipments-api-model/vendorShipments.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorShipments.json
java -jar D:/JavaServer/VevorGitStore/selling-partner-api-models/swagger-codegen-cli-2.4.13.jar generate -i D:/JavaServer/VevorGitStore/selling-partner-api-models/models/vendor-transaction-status-api-model/vendorTransactionStatus.json -l java -t D:/JavaServer/VevorGitStore/selling-partner-api-models/clients/sellingpartner-api-aa-java/resources/swagger-codegen/templates/ -o D:/sp-api/code/java_vendorTransactionStatus.json
7.cmd命令中执行
查看生成的结果;41个项目目录
准备sdk的编译环境
8.批量处理文件夹可用cmd命令
1.创建文件夹
md [文件夹路径]
2.复制文件到指定位置
xcopy [源文件夹路径] [目标文件夹路径] /e /i /h
9.手动整合生成的代码到项目中
已整合,下载可直接使用Git路径
Git项目Clone后运行效果图
依赖jar包后项目运行效果图
10.打包,上传,便于下次POM直接用
// 可以直接去下载
完整SP-API下载地址
这个包只需要下载后放到自己的本地仓库下即可,仓库相对路径:com\amazon\
<dependency><groupId>com.amazon.spapi</groupId><artifactId>spapi-java</artifactId><version>1.0</version>
</dependency>
这篇关于副本技能-亚马逊SP-API的依赖SDK包生产的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!