@@ -9,9 +9,7 @@ import com.global.iop.util.ApiException; | |||||
import com.global.iop.util.FileItem; | import com.global.iop.util.FileItem; | ||||
import com.ruoyi.common.annotation.Log; | import com.ruoyi.common.annotation.Log; | ||||
import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
import com.ruoyi.web.controller.aliexpress.dto.CategoryGetPropValueFeatureDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.CategoryQdUploadDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.CategorySuggestionDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.category.*; | |||||
import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | ||||
import com.ruoyi.web.enumerate.AliexpressCategoryEnu; | import com.ruoyi.web.enumerate.AliexpressCategoryEnu; | ||||
import io.swagger.annotations.Api; | import io.swagger.annotations.Api; | ||||
@@ -46,6 +44,7 @@ public class AliexpressCategoryController { | |||||
System.out.println(response.getBody()); | System.out.println(response.getBody()); | ||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | /** | ||||
* 获取AE属性的PropValueFeature | * 获取AE属性的PropValueFeature | ||||
*/ | */ | ||||
@@ -59,7 +58,7 @@ public class AliexpressCategoryController { | |||||
request.addApiParameter("propertyId", reqDto.getPropertyId()); | request.addApiParameter("propertyId", reqDto.getPropertyId()); | ||||
request.addApiParameter("valueId", reqDto.getValueId()); | request.addApiParameter("valueId", reqDto.getValueId()); | ||||
request.addApiParameter("featureKey", reqDto.getFeatureKey()); | request.addApiParameter("featureKey", reqDto.getFeatureKey()); | ||||
IopResponse response = client.execute(request); | |||||
IopResponse response = client.execute(request, Protocol.GOP); | |||||
return response.getGopResponseBody(); | return response.getGopResponseBody(); | ||||
} | } | ||||
@@ -75,6 +74,7 @@ public class AliexpressCategoryController { | |||||
System.out.println(response.getBody()); | System.out.println(response.getBody()); | ||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | /** | ||||
* suggestion | * suggestion | ||||
*/ | */ | ||||
@@ -103,6 +103,7 @@ public class AliexpressCategoryController { | |||||
System.out.println(response.getBody()); | System.out.println(response.getBody()); | ||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | /** | ||||
* qdUpload | * qdUpload | ||||
*/ | */ | ||||
@@ -112,7 +113,7 @@ public class AliexpressCategoryController { | |||||
public String qdUpload(@RequestParam("file") MultipartFile file, @RequestBody CategoryQdUploadDTO reqDto) throws ApiException { | public String qdUpload(@RequestParam("file") MultipartFile file, @RequestBody CategoryQdUploadDTO reqDto) throws ApiException { | ||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | ||||
IopRequest request = new IopRequest(); | IopRequest request = new IopRequest(); | ||||
request.setApiName(AliexpressCategoryEnu.FILE_UPLOAD.getApiName()); | |||||
request.setApiName(AliexpressCategoryEnu.QD_FILE_UPLOAD.getApiName()); | |||||
request.addApiParameter("upload_meta", reqDto.getUpload_meta()); | request.addApiParameter("upload_meta", reqDto.getUpload_meta()); | ||||
try { | try { | ||||
request.addFileParameter("file_data", new FileItem(file.getOriginalFilename(), file.getInputStream(), file.getContentType())); | request.addFileParameter("file_data", new FileItem(file.getOriginalFilename(), file.getInputStream(), file.getContentType())); | ||||
@@ -134,6 +135,21 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 查询属于特定类别的sku属性信息 | |||||
*/ | |||||
@Log(title = "查询属于特定类别的sku属性信息", businessType = BusinessType.SELECT) | |||||
@ApiOperation("查询属于特定类别的sku属性信息") | |||||
@PostMapping("/skuAttributeQuery") | |||||
public String skuAttributeQuery(@RequestBody CategorySkuAttributeQueryDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.SKU_ATTRIBUTE_QUERY.getApiName()); | |||||
request.addApiParameter("query_sku_attribute_info_request", reqDto.getQuery_sku_attribute_info_request()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//API,用于卖家查询类别树。只支持显示卖家有权发布产品的类别。 | //API,用于卖家查询类别树。只支持显示卖家有权发布产品的类别。 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -146,6 +162,22 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 用于卖家查询类别树 只支持显示卖家有权发布产品的类别 | |||||
*/ | |||||
@Log(title = "用于卖家查询类别树 只支持显示卖家有权发布产品的类别", businessType = BusinessType.SELECT) | |||||
@ApiOperation("用于卖家查询类别树 只支持显示卖家有权发布产品的类别") | |||||
@PostMapping("/sellerCategoryTreeQuery") | |||||
public String sellerCategoryTreeQuery(@RequestBody CategorySellerCategoryTreeQueryDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.SELLER_CATEGORY_TREE_QUERY.getApiName()); | |||||
request.addApiParameter("category_id", reqDto.getCategory_id()); | |||||
request.addApiParameter("filter_no_permission", reqDto.getFilter_no_permission()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//判断叶子类目是否必须尺码表 | //判断叶子类目是否必须尺码表 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -157,6 +189,21 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 判断叶子类目是否必须尺码表 | |||||
*/ | |||||
@Log(title = "判断叶子类目是否必须尺码表", businessType = BusinessType.SELECT) | |||||
@ApiOperation("判断叶子类目是否必须尺码表") | |||||
@PostMapping("/sizeModelsRequiredForPostCat") | |||||
public String sizeModelsRequiredForPostCat(@RequestBody CategorySizeModelsRequiredForPostCatDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.SIZE_MODELS_REQUIRED_FOR_POST_CAT.getApiName()); | |||||
request.addApiParameter("param0", reqDto.getParam0()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//查询海外商家授权品牌 | //查询海外商家授权品牌 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -167,6 +214,20 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 查询海外商家授权品牌 | |||||
*/ | |||||
@Log(title = "查询海外商家授权品牌", businessType = BusinessType.SELECT) | |||||
@ApiOperation("查询海外商家授权品牌") | |||||
@PostMapping("/merchantOverseaBrandGet") | |||||
public String merchantOverseaBrandGet(@RequestBody CategorySizeModelsRequiredForPostCatDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.MERCHANT_OVERSEA_BRAND_GET.getApiName()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//查询类目下欧盟责任人列表 | //查询类目下欧盟责任人列表 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -181,6 +242,24 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 查询类目下欧盟责任人列表 | |||||
*/ | |||||
@Log(title = "查询类目下欧盟责任人列表", businessType = BusinessType.SELECT) | |||||
@ApiOperation("查询类目下欧盟责任人列表") | |||||
@PostMapping("/euResponsiblePersonsList") | |||||
public String euResponsiblePersonsList(@RequestBody CategoryEuResponsiblePersonsListDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.EU_RESPONSIBLE_PERSONS_LIST.getApiName()); | |||||
request.setHttpMethod("GET"); | |||||
request.addApiParameter("category_id", reqDto.getCategory_id()); | |||||
request.addApiParameter("channel", reqDto.getChannel()); | |||||
request.addApiParameter("channel_seller_id", reqDto.getChannel_seller_id()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//根据发布类目id、父属性路径(可选)获取子属性信息,只返回有权限品牌 | //根据发布类目id、父属性路径(可选)获取子属性信息,只返回有权限品牌 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -197,6 +276,26 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 根据发布类目id、父属性路径(可选)获取子属性信息,只返回有权限品牌 | |||||
*/ | |||||
@Log(title = "根据发布类目id、父属性路径(可选)获取子属性信息,只返回有权限品牌", businessType = BusinessType.SELECT) | |||||
@ApiOperation("根据发布类目id、父属性路径(可选)获取子属性信息,只返回有权限品牌") | |||||
@PostMapping("/getChildAttributesResultByPostCateIdAndPath") | |||||
public String getChildAttributesResultByPostCateIdAndPath(@RequestBody CategoryGetChildAttributesResultByPostCateIdAndPathDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.GET_CHILD_ATTRIBUTES_RESULT_BY_POST_CATE_ID_AND_PATH.getApiName()); | |||||
request.addApiParameter("channel", reqDto.getChannel()); | |||||
request.addApiParameter("locale", reqDto.getLocale()); | |||||
request.addApiParameter("product_type", reqDto.getProduct_type()); | |||||
request.addApiParameter("channel_seller_id", reqDto.getChannel_seller_id()); | |||||
request.addApiParameter("param1", reqDto.getParam1()); | |||||
request.addApiParameter("param2", reqDto.getParam2()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//类目资质信息查询 | //类目资质信息查询 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -210,6 +309,23 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 类目资质信息查询 | |||||
*/ | |||||
@Log(title = "类目资质信息查询", businessType = BusinessType.SELECT) | |||||
@ApiOperation("类目资质信息查询") | |||||
@PostMapping("/qualificationsList") | |||||
public String qualificationsList(@RequestBody CategoryQualificationsListDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.QUALIFICATIONS_LIST.getApiName()); | |||||
request.setHttpMethod("GET"); | |||||
request.addApiParameter("category_id", reqDto.getCategory_id()); | |||||
request.addApiParameter("local", reqDto.getLocal()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//获取单个类目信息 | //获取单个类目信息 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -221,6 +337,21 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 获取单个类目信息 | |||||
*/ | |||||
@Log(title = "获取单个类目信息", businessType = BusinessType.SELECT) | |||||
@ApiOperation("获取单个类目信息") | |||||
@PostMapping("/getPostCategoryById") | |||||
public String getPostCategoryById(@RequestBody CategoryGetPostCategoryByIdDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.GET_POST_CATEGORY_BY_ID.getApiName()); | |||||
request.addApiParameter("param0", reqDto.getParam0()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//获取指定类目下子类目信息 | //获取指定类目下子类目信息 | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -232,6 +363,21 @@ System.out.println(response.getBody()); | |||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 获取指定类目下子类目信息 | |||||
*/ | |||||
@Log(title = "获取指定类目下子类目信息", businessType = BusinessType.SELECT) | |||||
@ApiOperation("获取指定类目下子类目信息") | |||||
@PostMapping("/getChildrenPostCategoryById") | |||||
public String getChildrenPostCategoryById(@RequestBody CategoryGetChildrenPostCategoryByIdDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.GET_CHILDREN_POST_CATEGORY_BY_ID.getApiName()); | |||||
request.addApiParameter("param0", reqDto.getParam0()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//获取指定类目下的子类目信息(可校验卖家权限) | //获取指定类目下的子类目信息(可校验卖家权限) | ||||
/* | /* | ||||
IopClient client = new IopClient(url, appkey, appSecret); | IopClient client = new IopClient(url, appkey, appSecret); | ||||
@@ -246,4 +392,23 @@ IopResponse response = client.execute(request, accessToken, Protocol.TOP); | |||||
System.out.println(response.getBody()); | System.out.println(response.getBody()); | ||||
Thread.sleep(10); | Thread.sleep(10); | ||||
*/ | */ | ||||
/** | |||||
* 获取指定类目下的子类目信息(可校验卖家权限) | |||||
*/ | |||||
@Log(title = "获取指定类目下的子类目信息(可校验卖家权限)", businessType = BusinessType.SELECT) | |||||
@ApiOperation("获取指定类目下的子类目信息(可校验卖家权限)") | |||||
@PostMapping("/treeList") | |||||
public String treeList(@RequestBody CategoryTreeListDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressCategoryEnu.TREE_LIST.getApiName()); | |||||
request.setHttpMethod("GET"); | |||||
request.addApiParameter("channel_seller_id", reqDto.getChannel_seller_id()); | |||||
request.addApiParameter("only_with_permission", reqDto.getOnly_with_permission()); | |||||
request.addApiParameter("channel", reqDto.getChannel()); | |||||
request.addApiParameter("category_id", reqDto.getCategory_id()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
} | } |
@@ -8,9 +8,9 @@ import com.global.iop.domain.Protocol; | |||||
import com.global.iop.util.ApiException; | import com.global.iop.util.ApiException; | ||||
import com.ruoyi.common.annotation.Log; | import com.ruoyi.common.annotation.Log; | ||||
import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
import com.ruoyi.web.controller.aliexpress.dto.FreightCalculateFreightDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.FreightGetFreightSettingByTemplateQueryDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.FreightListFreightTemplateDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.freight.FreightCalculateFreightDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.freight.FreightGetFreightSettingByTemplateQueryDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.freight.FreightListFreightTemplateDTO; | |||||
import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | ||||
import com.ruoyi.web.enumerate.AliexpressFreightEnu; | import com.ruoyi.web.enumerate.AliexpressFreightEnu; | ||||
import io.swagger.annotations.Api; | import io.swagger.annotations.Api; | ||||
@@ -9,7 +9,7 @@ import com.global.iop.util.ApiException; | |||||
import com.global.iop.util.FileItem; | import com.global.iop.util.FileItem; | ||||
import com.ruoyi.common.annotation.Log; | import com.ruoyi.common.annotation.Log; | ||||
import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
import com.ruoyi.web.controller.aliexpress.dto.*; | |||||
import com.ruoyi.web.controller.aliexpress.dto.photobank.*; | |||||
import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | ||||
import com.ruoyi.web.enumerate.AliexpressImageEnu; | import com.ruoyi.web.enumerate.AliexpressImageEnu; | ||||
import io.swagger.annotations.Api; | import io.swagger.annotations.Api; | ||||
@@ -0,0 +1,152 @@ | |||||
package com.ruoyi.web.controller.aliexpress; | |||||
import com.global.iop.api.IopClient; | |||||
import com.global.iop.api.IopClientImpl; | |||||
import com.global.iop.api.IopRequest; | |||||
import com.global.iop.api.IopResponse; | |||||
import com.global.iop.domain.Protocol; | |||||
import com.global.iop.util.ApiException; | |||||
import com.ruoyi.common.annotation.Log; | |||||
import com.ruoyi.common.enums.BusinessType; | |||||
import com.ruoyi.web.controller.aliexpress.dto.member.MemberDsOrderDataSaveDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.member.MemberOauthAuthorizeDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.member.MemberQueryAccountLevelDTO; | |||||
import com.ruoyi.web.controller.aliexpress.dto.member.MemberUicQueryTbNickDTO; | |||||
import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | |||||
import com.ruoyi.web.enumerate.AliexpressMemberEnu; | |||||
import io.swagger.annotations.Api; | |||||
import io.swagger.annotations.ApiOperation; | |||||
import org.springframework.web.bind.annotation.PostMapping; | |||||
import org.springframework.web.bind.annotation.RequestBody; | |||||
import org.springframework.web.bind.annotation.RequestMapping; | |||||
import org.springframework.web.bind.annotation.RestController; | |||||
import javax.annotation.Resource; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:17 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@RestController | |||||
@Api("对接速卖通 类目") | |||||
@RequestMapping("/aliexpress/member") | |||||
public class AliexpressMemberController { | |||||
@Resource | |||||
private AliexpressAuthClientConfig AliexpressAuthClientConfig; | |||||
//查询淘宝的nickName | |||||
//描述:通过AE的loginId查询淘宝的nickName | |||||
/* | |||||
IopClient client = new IopClient(url, appkey, appSecret); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName("aliexpress.member.redefining.uicquerytbnick"); | |||||
request.addApiParameter("login_id", "cn1519431219gong"); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
System.out.println(response.getBody()); | |||||
Thread.sleep(10); | |||||
*/ | |||||
/** | |||||
* 查询淘宝的nickName | |||||
*/ | |||||
@Log(title = "查询淘宝的nickName", businessType = BusinessType.SELECT) | |||||
@ApiOperation("查询淘宝的nickName") | |||||
@PostMapping("/uicQueryTbNick") | |||||
public String uicQueryTbNick(@RequestBody MemberUicQueryTbNickDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressMemberEnu.UIC_QUERY_TB_NICK.getApiName()); | |||||
request.addApiParameter("login_id", reqDto.getLoginId()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//收集下单的用户和订单金额等信息 | |||||
//描述:收集dropshipper导购站点下单的用户和订单金额等信息 | |||||
/* | |||||
IopClient client = new IopClient(url, appkey, appSecret); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName("aliexpress.member.ds.orderdata.save"); | |||||
request.addApiParameter("dser_collect_data", "{\"ae_product_id\":\"1334345\",\"ae_sku_info\":\"200000182:193;200007763:201336100\",\"product_url\":\"https://www.yousite.com/item/32862631421.html\",\"order_amount\":\"35.33\",\"paytime\":\"20191122:150606\",\"ae_orderid\":\"1334345\",\"product_amount\":\"35.33\"}"); | |||||
IopResponse response = client.execute(request, accessToken, Protocol.TOP); | |||||
System.out.println(response.getBody()); | |||||
Thread.sleep(10); | |||||
*/ | |||||
/** | |||||
* 收集下单的用户和订单金额等信息 | |||||
*/ | |||||
@Log(title = "收集下单的用户和订单金额等信息", businessType = BusinessType.SELECT) | |||||
@ApiOperation("收集下单的用户和订单金额等信息") | |||||
@PostMapping("/dsOrderDataSave") | |||||
public String dsOrderDataSave(@RequestBody MemberDsOrderDataSaveDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressMemberEnu.DS_ORDER_DATA_SAVE.getApiName()); | |||||
request.addApiParameter("dser_collect_data", reqDto.getDserCollectData()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//oauth授权 | |||||
//描述:该开放接口使用OK的authCode 映射到AE账号上进行Top平台的授权操作 | |||||
/* | |||||
IopClient client = new IopClient(url, appkey, appSecret); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName("aliexpress.member.oauth.authorize"); | |||||
request.addApiParameter("response_type", "code"); | |||||
request.addApiParameter("sns_authorization_code", "afjaodfjaojdfoajdfioa"); | |||||
request.addApiParameter("sns_type", "ok"); | |||||
request.addApiParameter("auto_register", "true"); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
System.out.println(response.getBody()); | |||||
Thread.sleep(10); | |||||
*/ | |||||
/** | |||||
* oauth授权 | |||||
*/ | |||||
@Log(title = "oauth授权", businessType = BusinessType.SELECT) | |||||
@ApiOperation("oauth授权") | |||||
@PostMapping("/oauthAuthorize") | |||||
public String oauthAuthorize(@RequestBody MemberOauthAuthorizeDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressMemberEnu.OAUTH_AUTHORIZE.getApiName()); | |||||
request.addApiParameter("response_type", reqDto.getResponseType()); | |||||
request.addApiParameter("sns_authorization_code", reqDto.getSnsAuthorizationCode()); | |||||
request.addApiParameter("sns_type", reqDto.getSnsType()); | |||||
request.addApiParameter("auto_register", reqDto.getAutoRegister()); | |||||
IopResponse response = client.execute(request, Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
//查询会员账户等级 | |||||
//描述:根据买家登录ID查询会员等级。平台对买家层级的标识,以A0-A4五个等级进行标注,数字越高,等级越高,买家越活跃,购买力越强,卖家朋友可根据买家分层更好的服务于买家。 | |||||
/* | |||||
IopClient client = new IopClient(url, appkey, appSecret); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName("aliexpress.member.redefining.queryaccountlevel"); | |||||
request.addApiParameter("login_id", "jordenmail"); | |||||
IopResponse response = client.execute(request, accessToken, Protocol.TOP); | |||||
System.out.println(response.getBody()); | |||||
Thread.sleep(10); | |||||
*/ | |||||
/** | |||||
* 查询会员账户等级 | |||||
*/ | |||||
@Log(title = "查询会员账户等级", businessType = BusinessType.SELECT) | |||||
@ApiOperation("查询会员账户等级") | |||||
@PostMapping("/queryAccountLevel") | |||||
public String queryAccountLevel(@RequestBody MemberQueryAccountLevelDTO reqDto) throws ApiException { | |||||
IopClient client = new IopClientImpl(AliexpressAuthClientConfig.getUrl(), AliexpressAuthClientConfig.getAppKey(), AliexpressAuthClientConfig.getAppSecret()); | |||||
IopRequest request = new IopRequest(); | |||||
request.setApiName(AliexpressMemberEnu.QUERY_ACCOUNT_LEVEL.getApiName()); | |||||
request.addApiParameter("login_id", reqDto.getLoginId()); | |||||
IopResponse response = client.execute(request, reqDto.getAccessToken(), Protocol.TOP); | |||||
return response.getGopResponseBody(); | |||||
} | |||||
} |
@@ -8,7 +8,7 @@ import com.global.iop.domain.Protocol; | |||||
import com.global.iop.util.ApiException; | import com.global.iop.util.ApiException; | ||||
import com.ruoyi.common.annotation.Log; | import com.ruoyi.common.annotation.Log; | ||||
import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
import com.ruoyi.web.controller.aliexpress.dto.*; | |||||
import com.ruoyi.web.controller.aliexpress.dto.order.*; | |||||
import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | import com.ruoyi.web.core.config.AliexpressAuthClientConfig; | ||||
import com.ruoyi.web.enumerate.AliexpressOrderEnu; | import com.ruoyi.web.enumerate.AliexpressOrderEnu; | ||||
import io.swagger.annotations.Api; | import io.swagger.annotations.Api; | ||||
@@ -0,0 +1,22 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:07 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryEuResponsiblePersonsListDTO extends AliexpressAuth { | |||||
// request.addApiParameter("category_id", "39050508"); | |||||
private String category_id; | |||||
// request.addApiParameter("channel", "AE_GLOBAL"); | |||||
private String channel; | |||||
// request.addApiParameter("channel_seller_id", "2671514005"); | |||||
private String channel_seller_id; | |||||
} |
@@ -0,0 +1,28 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:09 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryGetChildAttributesResultByPostCateIdAndPathDTO extends AliexpressAuth { | |||||
// request.addApiParameter("channel", "AE_GLOBAL"); | |||||
private String channel; | |||||
// request.addApiParameter("locale", "en_US"); | |||||
private String locale; | |||||
// request.addApiParameter("product_type", "2"); | |||||
private String product_type; | |||||
// request.addApiParameter("channel_seller_id", "2671514005"); | |||||
private String channel_seller_id; | |||||
// request.addApiParameter("param1", "349"); | |||||
private String param1; | |||||
// request.addApiParameter("param2", "219=9441741844"); | |||||
private String param2; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:15 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryGetChildrenPostCategoryByIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "509"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:14 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryGetPostCategoryByIdDTO extends AliexpressAuth { | |||||
// request.addApiParameter("param0", "5090301"); | |||||
private String param0; | |||||
} |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:12 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryQualificationsListDTO extends AliexpressAuth { | |||||
// request.addApiParameter("category_id", "200001426"); | |||||
private String category_id; | |||||
// request.addApiParameter("local", "zh_CN"); | |||||
private String local; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 9:49 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategorySellerCategoryTreeQueryDTO extends AliexpressAuth { | |||||
// request.addApiParameter("category_id", "509"); | |||||
private String category_id; | |||||
// request.addApiParameter("filter_no_permission", "true");\ | |||||
private String filter_no_permission; | |||||
} |
@@ -0,0 +1,19 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 10:02 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategorySizeModelsRequiredForPostCatDTO extends AliexpressAuth { | |||||
// request.addApiParameter("param0", "200000386"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 9:41 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategorySkuAttributeQueryDTO extends AliexpressAuth{ | |||||
// request.addApiParameter("query_sku_attribute_info_request", "{\"category_id\":\"11112222\",\"aliexpress_category_id\":\"200000801\"}"); | |||||
private String query_sku_attribute_info_request; | |||||
} |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -0,0 +1,24 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.category; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 11:10 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class CategoryTreeListDTO extends AliexpressAuth { | |||||
// request.addApiParameter("channel_seller_id", "2671514005"); | |||||
private String channel_seller_id; | |||||
// request.addApiParameter("only_with_permission", "true"); | |||||
private String only_with_permission; | |||||
// request.addApiParameter("channel", "AE_GLOBAL"); | |||||
private String channel; | |||||
// request.addApiParameter("category_id", "0"); | |||||
private String category_id; | |||||
} |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.freight; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.freight; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.freight; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.member; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:25 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class MemberDsOrderDataSaveDTO extends AliexpressAuth { | |||||
//request.addApiParameter("dser_collect_data", "{\"ae_product_id\":\"1334345\",\"ae_sku_info\":\"200000182:193;200007763:201336100\",\"product_url\":\"https://www.yousite.com/item/32862631421.html\",\"order_amount\":\"35.33\",\"paytime\":\"20191122:150606\",\"ae_orderid\":\"1334345\",\"product_amount\":\"35.33\"}"); | |||||
private String dserCollectData; | |||||
} |
@@ -0,0 +1,24 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.member; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:27 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class MemberOauthAuthorizeDTO extends AliexpressAuth { | |||||
//request.addApiParameter("response_type", "code"); | |||||
private String responseType; | |||||
//request.addApiParameter("sns_authorization_code", "afjaodfjaojdfoajdfioa"); | |||||
private String snsAuthorizationCode; | |||||
//request.addApiParameter("sns_type", "ok"); | |||||
private String snsType; | |||||
//request.addApiParameter("auto_register", "true"); | |||||
private String autoRegister; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.member; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:29 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class MemberQueryAccountLevelDTO extends AliexpressAuth { | |||||
//request.addApiParameter("login_id", "jordenmail"); | |||||
private String loginId; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.member; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:22 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class MemberUicQueryTbNickDTO extends AliexpressAuth { | |||||
//request.addApiParameter("login_id", "cn1519431219gong"); | |||||
private String loginId; | |||||
} |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.order; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -1,4 +1,4 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto; | |||||
package com.ruoyi.web.controller.aliexpress.dto.photobank; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | import com.ruoyi.web.core.config.AliexpressAuth; | ||||
import lombok.Getter; | import lombok.Getter; |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:55 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductBatchProductDeleteDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_ids", "4000403362451,4000403362452"); | |||||
private String product_ids; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:59 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductBatchProductInventoryUpdateDTO extends AliexpressAuth { | |||||
// request.addApiParameter("mutiple_product_update_list", "[{\"product_id\":\"1000005237852\",\"multiple_sku_update_list\":[{\"inventory\":\"99\",\"sku_code\":\"123abc\"},{\"inventory\":\"99\",\"sku_code\":\"123abc\"}]}]"); | |||||
private String mutiple_product_update_list; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 13:44 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductBatchProductPriceUpdateDTO extends AliexpressAuth { | |||||
// request.addApiParameter("mutiple_product_update_list", "[{\"product_id\":\"1000005237852\",\"multi_country_price_configuration\":{\"price_type\":\"absolute\",\"country_price_list\":[{\"sku_price_by_country_list\":[{\"price\":\"15\",\"discount_price\":\"13.99\",\"sku_code\":\"abc123\"},{\"price\":\"15\",\"discount_price\":\"13.99\",\"sku_code\":\"abc123\"}],\"ship_to_country\":\"FR\"},{\"sku_price_by_country_list\":[{\"price\":\"15\",\"discount_price\":\"13.99\",\"sku_code\":\"abc123\"},{\"price\":\"15\",\"discount_price\":\"13.99\",\"sku_code\":\"abc123\"}],\"ship_to_country\":\"FR\"}]},\"multiple_sku_update_list\":[{\"discount_price\":\"14.99\",\"price\":\"19.99\",\"sku_code\":\"123abc\"},{\"discount_price\":\"14.99\",\"price\":\"19.99\",\"sku_code\":\"123abc\"}]}]"); | |||||
private String mutiple_product_update_list; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:31 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelFindByTecIdDTO extends AliexpressAuth { | |||||
// request.addApiParameter("tec_id", "22548"); | |||||
private String tec_id; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:01 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelFindByTecIdsDTO extends AliexpressAuth { | |||||
// request.addApiParameter("param", "{\"link_target_id_list\":[\"[]\",\"[]\"],\"current\":\"1\",\"year_id\":\"1\",\"model_id\":\"1\",\"country_id\":\"1\",\"brand_id\":\"1\",\"page_size\":\"10\"}"); | |||||
private String param; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:13 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelFindListByProductIdDTO extends AliexpressAuth { | |||||
// request.addApiParameter("param0", "{\"product_id\":\"\\\"1005004513947684\\\"\",\"channel\":\"AE_GLOBAL\",\"channel_seller_id\":\"2671514005\"}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,19 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:29 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelGetArticleDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "{\"current\":\"1\",\"language\":\"zh\",\"search_query\":\"4233244\",\"search_type\":\"1\",\"page_size\":\"10\"}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:22 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelGetBrandDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "{\"lang\":\"zh\"}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:24 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelGetCountryDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "{\"lang\":\"zh\"}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:28 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelGetLinkTargetDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "{\"article_id_list\":[\"[\\\"1222211\\\",\\\"221\\\"]\",\"[\\\"1222211\\\",\\\"221\\\"]\"],\"linking_target_type\":\"V\",\"lang\":\"zh\"}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:59 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCarModelUpdateProductCarInfoDTO extends AliexpressAuth { | |||||
//request.addApiParameter("param0", "{\"delete_af_ids\":[\"[\\\"US323221\\\"]\",\"[\\\"US323221\\\"]\"],\"product_id\":\"\\\"1005005113643414\\\"\",\"channel_seller_id\":\"2671514005\",\"channel\":\"AE_GLOBAL\",\"add_af_ids\":[\"[\\\"US122121\\\"]\",\"[\\\"US122121\\\"]\"]}"); | |||||
private String param0; | |||||
} |
@@ -0,0 +1,24 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:34 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCategoryForecastDTO extends AliexpressAuth { | |||||
//request.addApiParameter("image_url", "https://ae01.alicdn.com/kf/S1f7eae683d124854973b72563474e170V.jpg"); | |||||
//request.addApiParameter("subject", "elle+sport+sujetador+deportivo+gunn+rosa"); | |||||
//request.addApiParameter("locale", "es"); | |||||
//request.addApiParameter("is_filter_by_permission", "N"); | |||||
private String image_url; | |||||
private String subject; | |||||
private String locale; | |||||
private String is_filter_by_permission; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:56 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductCopySizeTemplateDTO extends AliexpressAuth { | |||||
//request.addApiParameter("size_template_id", "1"); | |||||
//request.addApiParameter("target_leaf_id", "364"); | |||||
private String size_template_id; | |||||
private String target_leaf_id; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:54 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductDraftProductGetDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1307422965"); | |||||
private String product_id; | |||||
} |
@@ -0,0 +1,19 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:19 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductDraftProductGetNewDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1307422965"); | |||||
private String product_id; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:21 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductDraftProductsGetDTO extends AliexpressAuth { | |||||
//request.addApiParameter("aeop_a_e_product_list_query", "{\"current_page\":\"2\",\"page_size\":\"30\"}"); | |||||
private String aeop_a_e_product_list_query; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:44 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditMultiLanguageProductDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "32234411234"); | |||||
//request.addApiParameter("aeop_a_e_product_multilanguage_info", "{\"mobile_detail\":\"{ \\\"mobileDetail\\\": [ { \\\"content\\\": \\\"context1\\\", \\\"type\\\": \\\"text\\\" }, { \\\"col\\\": 1, \\\"images\\\": [ { \\\"height\\\":500, \\\"imgUrl\\\": \\\"https://ae01.alicdn.com/kf/HTB1WQ.MKpXXXXXhXVXXq6xXFXXX6.jpg\\\", \\\"width\\\":500, \\\"targetUrl\\\":\\\"https://ae01.alicdn.com/kf/HTB1WQ.MKpXXXXXhXVXXq6xXFXXX6.jpg\\\" }, { \\\"imgUrl\\\": \\\"https://ae01.alicdn.com/kf/HTB1WQ.MKpXXXXXhXVXXq6xXFXXX6.jpg\\\", \\\"targetUrl\\\":\\\"https://ae01.alicdn.com/kf/HTB1WQ.MKpXXXXXhXVXXq6xXFXXX6.jpg\\\" } ], \\\"type\\\": \\\"image\\\" }, { \\\"content\\\": \\\"context3\\\", \\\"type\\\": \\\"text\\\" } ], \\\"version\\\": \\\"1.0\\\", \\\"versionNum\\\": 1}\",\"subject\":\"foo\",\"detail\":\"bar\",\"locale\":\"ru_RU\"}"); | |||||
private String product_id; | |||||
private String aeop_a_e_product_multilanguage_info; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:38 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditMultipleSkuStocksDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "32297192242"); | |||||
//request.addApiParameter("sku_stocks", "{\"14:200003699;5:100014064\":240, \"14:200003699;5:361386\": 220}"); | |||||
private String product_id; | |||||
private String sku_stocks; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:45 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditProductCategoryAttributesDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1706468951"); | |||||
//request.addApiParameter("product_category_attributes", "[{\"attr_name_id\":\"0\",\"attr_name\":\"0\",\"attr_value_id\":\"0\",\"attr_value_unit\":\"0\",\"attr_value\":\"0\",\"attr_value_end\":\"0\",\"attr_value_start\":\"0\"}]"); | |||||
private String product_id; | |||||
private String product_category_attributes; | |||||
} |
@@ -0,0 +1,22 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:42 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditSimpleProductFiledDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1234"); | |||||
//request.addApiParameter("fied_name", "deliveryTime"); | |||||
//request.addApiParameter("fiedvalue", "{ \"mobileDetail\": [ { \"type\": \"text\", \"content\": \" POSTAGE<>: We provide free express shipping via UPS / DHL / FEDEX / EMS / TNT / ARAMEX / for most of country when your orders around US$200 (please contact us if you have qustions). Delivery time around 4-7 days (business days).NOTE<>: We have only one store called 'TWOTWINSTYLE' on aliexpress. The products selling in other stores with same designs or photos are not from us. 'TWOTWINSTYLE' have their own separate production lines, all merchandise sold are exclusive and high quality.\" } ], \"version\": \"1.0\", \"versionNum\": 1}"); | |||||
private String product_id; | |||||
private String fied_name; | |||||
private String fiedvalue; | |||||
} |
@@ -0,0 +1,24 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:39 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditSingleSkuPriceDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "123456789"); | |||||
//request.addApiParameter("sku_id", "14:771;5:100014066"); | |||||
//request.addApiParameter("sku_price", "999"); | |||||
//request.addApiParameter("sale_price", "999"); | |||||
private String product_id; | |||||
private String sku_id; | |||||
private String sku_price; | |||||
private String sale_price; | |||||
} |
@@ -0,0 +1,22 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:41 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductEditSingleSkuStockDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "32297192242"); | |||||
//request.addApiParameter("sku_id", "14:200003699;5:100014065"); | |||||
//request.addApiParameter("ipm_sku_stock", "299"); | |||||
private String product_id; | |||||
private String sku_id; | |||||
private String ipm_sku_stock; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 15:47 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFeedInvalidateDTO extends AliexpressAuth { | |||||
//request.addApiParameter("job_id_list", "200000099310034475;200000099110014475;200000014009554475"); | |||||
private String job_id_list; | |||||
} |
@@ -0,0 +1,28 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:01 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFeedListGetDTO extends AliexpressAuth { | |||||
//request.addApiParameter("current_page", "2"); | |||||
private String current_page; | |||||
//request.addApiParameter("feed_type", "PRODUCT_CREATE"); | |||||
private String feed_type; | |||||
//request.addApiParameter("page_size", "50"); | |||||
private String page_size; | |||||
//request.addApiParameter("status", "FINISH"); | |||||
private String status; | |||||
//request.addApiParameter("submitted_time_end", "2020-11-12 06:00:00"); | |||||
private String submitted_time_end; | |||||
//request.addApiParameter("submitted_time_start", "2020-11-01 02:00:00"); | |||||
private String submitted_time_start; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:07 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFeedQueryDTO extends AliexpressAuth { | |||||
//request.addApiParameter("job_id", "200000000060054475"); | |||||
private String job_id; | |||||
} |
@@ -0,0 +1,23 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:09 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFeedSubmitDTO extends AliexpressAuth { | |||||
//request.addApiParameter("operation_type", "PRODUCT_CREATE"); | |||||
private String operation_type; | |||||
//request.addApiParameter("item_list", "[{\"item_content_id\":\"A00000000Y1\",\"item_content\":\"{\\\"category_id\\\":200000346,\\\"title_multi_language_list\\\":[{\\\"locale\\\":\\\"es_ES\\\",\\\"title\\\":\\\"test\\\"}],\\\"description_multi_language_list\\\":[{\\\"locale\\\":\\\"es_ES\\\",\\\"module_list\\\":[{\\\"type\\\":\\\"html\\\",\\\"html\\\":{\\\"content\\\":\\\"test\\\"}}]}],\\\"locale\\\":\\\"es_ES\\\",\\\"product_units_type\\\":\\\"100000000\\\",\\\"image_url_list\\\":[\\\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\\\"],\\\"category_attributes\\\":{\\\"Brand Name\\\":{\\\"value\\\":\\\"200010868\\\"},\\\"Material\\\":{\\\"value\\\":[\\\"47\\\",\\\"49\\\"]},\\\"Clothing Length\\\":{\\\"value\\\":\\\"1876\\\"}},\\\"sku_info_list\\\":[{\\\"sku_code\\\":\\\"234\\\",\\\"inventory\\\":234,\\\"price\\\":23,\\\"discount_price\\\":12,\\\"sku_attributes\\\":{\\\"Size\\\":{\\\"value\\\":\\\"200000989\\\"},\\\"Color\\\":{\\\"alias\\\":\\\"32\\\",\\\"sku_image_url\\\":\\\"https://ae01.alicdn.com/kf/HTB1TZJRVkvoK1RjSZFwq6AiCFXa0.jpg_350x350.jpg\\\",\\\"value\\\":\\\"771\\\"}}}],\\\"inventory_deduction_strategy\\\":\\\"place_order_withhold\\\",\\\"package_weight\\\":234,\\\"package_length\\\":234,\\\"package_height\\\":234,\\\"package_width\\\":234,\\\"shipping_preparation_time\\\":3,\\\"shipping_template_id\\\":\\\"1000\\\",\\\"service_template_id\\\":\\\"0\\\"}\"}]"); | |||||
private String item_list; | |||||
//request.addApiParameter("developer_features", "{\"source\":\"Lengow\"}"); | |||||
private String developer_features; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:47 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFindAeProductByIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1307422965"); | |||||
private String product_id; | |||||
} |
@@ -0,0 +1,23 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:08 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFindAeProductDetailModuleListByQueryDTO extends AliexpressAuth { | |||||
//request.addApiParameter("module_status", "approved"); | |||||
//request.addApiParameter("type", "custom"); | |||||
//request.addApiParameter("page_index", "1"); | |||||
private String module_status; | |||||
private String type; | |||||
private String page_index; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:10 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFindAeProductModuleByIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("module_id", "0"); | |||||
private String module_id; | |||||
} |
@@ -0,0 +1,26 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:54 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFindAeProductProhibitedWordsDTO extends AliexpressAuth { | |||||
//request.addApiParameter("category_id", "322"); | |||||
//request.addApiParameter("title", "nike"); | |||||
//request.addApiParameter("keywords", "0"); | |||||
//request.addApiParameter("product_properties", "0"); | |||||
//request.addApiParameter("detail", "This is a test for the product."); | |||||
private String category_id; | |||||
private String title; | |||||
private String keywords; | |||||
private String product_properties; | |||||
private String detail; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:11 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductFindAeProductStatusByIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "32462942083"); | |||||
private String product_id; | |||||
} |
@@ -0,0 +1,17 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:50 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductGetProductGroupListDTO extends AliexpressAuth { | |||||
} |
@@ -0,0 +1,23 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:32 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductGetSizeChartInfoByCategoryIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("channel", "AE_GLOBAL"); | |||||
//request.addApiParameter("channel_seller_id", "2671514005"); | |||||
//request.addApiParameter("category_id", "348"); | |||||
private String channel; | |||||
private String channel_seller_id; | |||||
private String category_id; | |||||
} |
@@ -0,0 +1,25 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:48 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductGetSizeTemplatesByCategoryIdDTO extends AliexpressAuth { | |||||
//request.addApiParameter("channel_seller_id", "2671514005"); | |||||
//request.addApiParameter("channel", "AE_GLOBAL"); | |||||
//request.addApiParameter("leaf_category_id", "348"); | |||||
//request.addApiParameter("current_page", "1"); | |||||
private String channel_seller_id; | |||||
private String channel; | |||||
private String leaf_category_id; | |||||
private String current_page; | |||||
} |
@@ -0,0 +1,21 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:12 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductHsCodeQueryDTO extends AliexpressAuth { | |||||
//request.addApiParameter("country_code", "TR"); | |||||
private String country_code; | |||||
//request.addApiParameter("category_id", "5090301"); | |||||
private String category_id; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:53 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductInitialNewBundleDTO extends AliexpressAuth { | |||||
//request.addApiParameter("main_item_id", "32840310226"); | |||||
//request.addApiParameter("sub_item_list", "[32829102949]"); | |||||
private String main_item_id; | |||||
private String sub_item_list; | |||||
} |
@@ -0,0 +1,17 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:14 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductMerchantProfileGetDTO extends AliexpressAuth { | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:26 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningCreateProductGroupDTO extends AliexpressAuth { | |||||
//request.addApiParameter("name", "foo"); | |||||
private String name; | |||||
//request.addApiParameter("parent_id", "100"); | |||||
private String parent_id; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:39 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningFindProductInfoListQueryDTO extends AliexpressAuth { | |||||
//request.addApiParameter("aeop_a_e_product_list_query", "{\"gmt_modified_start\":\"2012-01-01 12:13:14\",\"gmt_modified_end\":\"2012-01-01 12:13:14\",\"off_line_time\":\"7\",\"gmt_create_start\":\"2012-01-01 12:13:14\",\"subject\":\"knew odd\",\"have_national_quote\":\"n\",\"ws_display\":\"expire_offline\",\"product_status_type\":\"onSelling\",\"owner_member_id\":\"123\",\"gmt_create_end\":\"2012-01-01 12:13:14\",\"group_id\":\"1234\",\"product_id\":\"123\",\"excepted_product_ids\":[\"[32962333569,32813963253]\",\"[32962333569,32813963253]\"],\"current_page\":\"2\",\"page_size\":\"30\"}"); | |||||
private String aeop_a_e_product_list_query; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:35 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningOfflineAeProductDTO extends AliexpressAuth { | |||||
//request.addApiParameter("edit_reason", "product_diagnosis"); | |||||
//request.addApiParameter("product_ids", "109827;109828"); | |||||
private String edit_reason; | |||||
private String product_ids; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:33 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningOnlineAeProductDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_ids", "109827;109828"); | |||||
private String product_ids; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:28 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningPostAeProductDTO extends AliexpressAuth { | |||||
//request.addApiParameter("ext_param", "{ \"custom_image\": { \"image\": { \"RU\": \"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\", \"BR\": \"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\", \"ES\": \"\" }, \"process_customized_image\": true }, \"vat_tags\": [{ \"sku_id\": \"200007763:201336100\", \"is_sku_vat_tag\": true }] }"); | |||||
//request.addApiParameter("aeop_a_e_product", "{\"lot_num\":\"1\",\"aeop_ae_product_propertys\":[{\"attr_name_id\":\"0\",\"attr_name\":\"0\",\"attr_value_id\":\"0\",\"attr_value_unit\":\"0\",\"attr_value\":\"0\",\"attr_value_end\":\"0\",\"attr_value_start\":\"0\"},{\"attr_name_id\":\"0\",\"attr_name\":\"0\",\"attr_value_id\":\"0\",\"attr_value_unit\":\"0\",\"attr_value\":\"0\",\"attr_value_end\":\"0\",\"attr_value_start\":\"0\"}],\"coupon_end_date\":\"2017-06-28 20:22:01\",\"mobile_detail\":\"mobile Detail html block\",\"mode_size_chart_list\":[{\"mode_size\":\"R\",\"hips\":\"2.3\",\"waist\":\"2\",\"bust\":\"2\",\"height\":\"2\"},{\"mode_size\":\"R\",\"hips\":\"2.3\",\"waist\":\"2\",\"bust\":\"2\",\"height\":\"2\"}],\"subject\":\"knew odd of test\",\"ws_display\":\"0\",\"ws_valid_num\":\"30\",\"aeop_national_quote_configuration\":{\"configuration_data\":\"[{\\\"shiptoCountry\\\":\\\"US\\\",\\\"percentage\\\":\\\"5\\\"},{\\\"shiptoCountry\\\":\\\"RU\\\",\\\"percentage\\\":\\\"-2\\\"}]\",\"configuration_type\":\"percentage, relative\"},\"delivery_time\":\"7\",\"product_price\":\"11.00\",\"product_status_type\":\"0\",\"owner_member_seq\":\"0\",\"package_type\":\"false\",\"base_unit\":\"1\",\"currency_code\":\"USD;RUB\",\"is_pack_sell\":\"false\",\"coupon_start_date\":\"2017-06-28 20:22:01\",\"package_height\":\"40\",\"add_weight\":\"3.03\",\"category_id\":\"200002101\",\"aeop_ae_product_s_k_us\":[{\"sku_discount_price\":\"10.01\",\"sku_price\":\"0\",\"ipm_sku_stock\":\"0\",\"sku_stock\":\"true\",\"aeop_s_k_u_national_discount_price\":[{\"discount_price\":\"9.09\",\"shipto_country\":\"RU\"},{\"discount_price\":\"9.09\",\"shipto_country\":\"RU\"}],\"id\":\"0\",\"ean_code\":\"12345678\",\"aeop_s_k_u_property\":[{\"sku_image\":\"0\",\"property_value_definition_name\":\"0\",\"property_value_id\":\"0\",\"sku_property_id\":\"0\",\"image_url_list\":[\"http://dda/a.jpg\",\"http://dda/a.jpg\"]},{\"sku_image\":\"0\",\"property_value_definition_name\":\"0\",\"property_value_id\":\"0\",\"sku_property_id\":\"0\",\"image_url_list\":[\"http://dda/a.jpg\",\"http://dda/a.jpg\"]}],\"sku_code\":\"0\",\"currency_code\":\"USD;RUB\"},{\"sku_discount_price\":\"10.01\",\"sku_price\":\"0\",\"ipm_sku_stock\":\"0\",\"sku_stock\":\"true\",\"aeop_s_k_u_national_discount_price\":[{\"discount_price\":\"9.09\",\"shipto_country\":\"RU\"},{\"discount_price\":\"9.09\",\"shipto_country\":\"RU\"}],\"id\":\"0\",\"ean_code\":\"12345678\",\"aeop_s_k_u_property\":[{\"sku_image\":\"0\",\"property_value_definition_name\":\"0\",\"property_value_id\":\"0\",\"sku_property_id\":\"0\",\"image_url_list\":[\"http://dda/a.jpg\",\"http://dda/a.jpg\"]},{\"sku_image\":\"0\",\"property_value_definition_name\":\"0\",\"property_value_id\":\"0\",\"sku_property_id\":\"0\",\"image_url_list\":[\"http://dda/a.jpg\",\"http://dda/a.jpg\"]}],\"sku_code\":\"0\",\"currency_code\":\"USD;RUB\"}],\"image_u_r_ls\":\"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\",\"package_length\":\"20\",\"product_id\":\"0\",\"product_more_keywords2\":\"0\",\"reduce_strategy\":\"place_order_withhold\u6216payment_success_deduct\",\"product_more_keywords1\":\"0\",\"gross_weight\":\"10.020\",\"keyword\":\"0\",\"freight_template_id\":\"1\",\"ws_offline_date\":\"2017-06-28 20:22:01\",\"promise_template_id\":\"100\",\"summary\":\"0\",\"sizechart_id\":\"100\",\"aeop_a_e_multimedia\":{\"aeop_a_e_videos\":[{\"media_status\":\"0\",\"media_type\":\"0\",\"ali_member_id\":\"0\",\"media_id\":\"0\",\"poster_url\":\"0\"},{\"media_status\":\"0\",\"media_type\":\"0\",\"ali_member_id\":\"0\",\"media_id\":\"0\",\"poster_url\":\"0\"}]},\"src\":\"0\",\"bulk_order\":\"5\",\"owner_member_id\":\"0\",\"product_unit\":\"100000000\",\"package_width\":\"30\",\"group_id\":\"124\",\"add_unit\":\"2\",\"bulk_discount\":\"90\",\"is_image_dynamic\":\"false\",\"detail\":\"detail stuff here\"}"); | |||||
private String ext_param; | |||||
private String aeop_a_e_product; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:31 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningPostMultiLanguageAeProductDTO extends AliexpressAuth { | |||||
// request.addApiParameter("ext_param", "{ \"custom_image\": { \"image\": { \"RU\": \"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\", \"BR\": \"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\", \"ES\": \"\" }, \"process_customized_image\": true }, \"vat_tags\": [{ \"sku_id\": \"200007763:201336100\", \"is_sku_vat_tag\": true }] }"); | |||||
// request.addApiParameter("product", "{\"lot_num\":\"10\",\"coupon_end_date\":\"2017-06-28 20:22:01\",\"mobile_detail\":\"0\",\"subject\":\"knew odd of test\",\"use_auto_trans\":\"true\",\"delivery_time\":\"7\",\"product_price\":\"11.00\",\"owner_member_seq\":\"1006680305\",\"package_type\":\"false\",\"base_unit\":\"1\",\"package_height\":\"40\",\"add_weight\":\"3.03\",\"image_u_r_ls\":\"http://g01.a.alicdn.com/kf/HTB13GKLJXXXXXbYaXXXq6xXFXXXi.jpg;http://g02.a.alicdn.com/kf/HTB1DkaWJXXXXXb6XFXXq6xXFXXXp.jpg;http://g02.a.alicdn.com/kf/HTB1pMCQJXXXXXcvXVXXq6xXFXXXm.jpg;http://g03.a.alicdn.com/kf/HTB1QhORJXXXXXbiXVXXq6xXFXXXx.jpg;http://g02.a.alicdn.com/kf/HTB1q1aLJXXXXXcfaXXXq6xXFXXXv.jpg\",\"product_id\":\"1234\",\"product_more_keywords2\":\"0\",\"product_more_keywords1\":\"0\",\"gross_weight\":\"10.020\",\"keyword\":\"0\",\"ws_offline_date\":\"2017-06-28 20:22:01\",\"promise_template_id\":\"100\",\"sizechart_id\":\"100\",\"aeop_a_e_multimedia\":{\"aeop_a_e_videos\":[{\"media_status\":\"approved\",\"media_type\":\"video\",\"ali_member_id\":\"1006680305\",\"media_id\":\"12345678\",\"poster_url\":\"http://img01.taobaocdn.com/bao/uploaded/TB1rNdGIVXXXXbTXFXXXXXXXXXX.jpg\"},{\"media_status\":\"approved\",\"media_type\":\"video\",\"ali_member_id\":\"1006680305\",\"media_id\":\"12345678\",\"poster_url\":\"http://img01.taobaocdn.com/bao/uploaded/TB1rNdGIVXXXXbTXFXXXXXXXXXX.jpg\"}]},\"multilanguage_detail\":\"\u041C\u043D\u043E\u0433\u043E\u044F\u0437\u044B\u0447\u043D\u044B\u0439 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\",\"product_unit\":\"100000000\",\"add_unit\":\"2\",\"detail\":\"\\u003cul\\u003e \\u003c/ul\\u003e\",\"aeop_ae_product_propertys\":[{\"attr_name_id\":\"0\",\"attr_name\":\"0\",\"attr_value_id\":\"0\",\"attr_value_unit\":\"0\",\"attr_value\":\"2 - 5 kg\",\"attr_value_end\":\"0\",\"attr_value_start\":\"0\"},{\"attr_name_id\":\"0\",\"attr_name\":\"0\",\"attr_value_id\":\"0\",\"attr_value_unit\":\"0\",\"attr_value\":\"2 - 5 kg\",\"attr_value_end\":\"0\",\"attr_value_start\":\"0\"}],\"ws_display\":\"expire_offline\",\"ws_valid_num\":\"30\",\"aeop_national_quote_configuration\":{\"configuration_data\":\"[{\\\"shiptoCountry\\\":\\\"US\\\",\\\"percentage\\\":\\\"5\\\"},{\\\"shiptoCountry\\\":\\\"RU\\\",\\\"percentage\\\":\\\"-2\\\"}]\",\"configuration_type\":\"percentage\"},\"product_status_type\":\"onSelling\",\"currency_code\":\"USD;RUB\",\"is_pack_sell\":\"false\",\"coupon_start_date\":\"2017-06-28 20:22:01\",\"category_id\":\"200002101\",\"aeop_ae_product_s_k_us\":[{\"sku_discount_price\":\"10.01\",\"sku_price\":\"11.11\",\"ipm_sku_stock\":\"1234\",\"sku_stock\":\"false\",\"aeop_s_k_u_national_discount_price\":[{\"discount_price\":\"9.05\",\"shipto_country\":\"RU\"},{\"discount_price\":\"9.05\",\"shipto_country\":\"RU\"}],\"id\":\"\\\"200000182:193;200007763:201336100\\\"\",\"aeop_s_k_u_property\":[{\"sku_image\":\"http://ae01.alicdn.com/kf/HTB19KVYX6LuK1Rjy0Fhq6xpdFXac.jpg\",\"property_value_definition_name\":\"pink\",\"sku_property_id\":\"14\",\"property_value_id\":\"366\"},{\"sku_image\":\"http://ae01.alicdn.com/kf/HTB19KVYX6LuK1Rjy0Fhq6xpdFXac.jpg\",\"property_value_definition_name\":\"pink\",\"sku_property_id\":\"14\",\"property_value_id\":\"366\"}],\"sku_code\":\"cfas00978\",\"barcode\":\"0\",\"currency_code\":\"USD\"},{\"sku_discount_price\":\"10.01\",\"sku_price\":\"11.11\",\"ipm_sku_stock\":\"1234\",\"sku_stock\":\"false\",\"aeop_s_k_u_national_discount_price\":[{\"discount_price\":\"9.05\",\"shipto_country\":\"RU\"},{\"discount_price\":\"9.05\",\"shipto_country\":\"RU\"}],\"id\":\"\\\"200000182:193;200007763:201336100\\\"\",\"aeop_s_k_u_property\":[{\"sku_image\":\"http://ae01.alicdn.com/kf/HTB19KVYX6LuK1Rjy0Fhq6xpdFXac.jpg\",\"property_value_definition_name\":\"pink\",\"sku_property_id\":\"14\",\"property_value_id\":\"366\"},{\"sku_image\":\"http://ae01.alicdn.com/kf/HTB19KVYX6LuK1Rjy0Fhq6xpdFXac.jpg\",\"property_value_definition_name\":\"pink\",\"sku_property_id\":\"14\",\"property_value_id\":\"366\"}],\"sku_code\":\"cfas00978\",\"barcode\":\"0\",\"currency_code\":\"USD\"}],\"locale_name\":\"ru_RU\",\"package_length\":\"20\",\"reduce_strategy\":\"place_order_withhold\u6216payment_success_deduct\",\"freight_template_id\":\"1\",\"summary\":\"0\",\"src\":\"isv\",\"bulk_order\":\"5\",\"owner_member_id\":\"aliqatest01\",\"multilanguage_subject\":\"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u044F\u0437\u044B\u043A\u043E\u0432\",\"package_width\":\"30\",\"group_id\":\"124\",\"bulk_discount\":\"90\",\"is_image_dynamic\":\"false\"}"); | |||||
private String ext_param; | |||||
private String product; | |||||
} |
@@ -0,0 +1,20 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:37 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningSetGroupsDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1005005270241178"); | |||||
//request.addApiParameter("group_ids", "254562048"); | |||||
private String product_id; | |||||
private String group_ids; | |||||
} |
@@ -0,0 +1,24 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:19 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductPostProductRedefiningSetSizeChartDTO extends AliexpressAuth { | |||||
//request.addApiParameter("channel_seller_id", "2671514005"); | |||||
private String channel_seller_id; | |||||
//request.addApiParameter("channel", "AE_GLOBAL"); | |||||
private String channel; | |||||
//request.addApiParameter("product_id", "1005005100110934"); | |||||
private String product_id; | |||||
//request.addApiParameter("sizechart_id", "1000001533573010"); | |||||
private String sizechart_id; | |||||
} |
@@ -0,0 +1,18 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:45 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductProductDeleteDTO extends AliexpressAuth { | |||||
//request.addApiParameter("product_id", "1005004617892753"); | |||||
private String product_id; | |||||
} |
@@ -0,0 +1,25 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 16:24 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductProductDiagnosisPageQueryProblemDTO extends AliexpressAuth { | |||||
//request.addApiParameter("operate_status", "0"); | |||||
private String operate_status; | |||||
//request.addApiParameter("problem_type_list", "repeat_repost, lack_white_image"); | |||||
private String problem_type_list; | |||||
//request.addApiParameter("page_size", "10");\ | |||||
private String page_size; | |||||
//request.addApiParameter("current_page", "1"); | |||||
private String current_page; | |||||
} |
@@ -0,0 +1,16 @@ | |||||
package com.ruoyi.web.controller.aliexpress.dto.product; | |||||
import com.ruoyi.web.core.config.AliexpressAuth; | |||||
import lombok.Getter; | |||||
import lombok.Setter; | |||||
/** | |||||
* @author ldj | |||||
* @date 2024/2/29 17:16 | |||||
* @Description: ... | |||||
* @Version 1.0 | |||||
*/ | |||||
@Getter | |||||
@Setter | |||||
public class ProductProductDiagnosisQueryProblemDTO extends AliexpressAuth { | |||||
} |