From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/taobao/SearchFilter.java | 669 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 346 insertions(+), 323 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/taobao/SearchFilter.java b/fanli/src/main/java/com/yeshi/fanli/entity/taobao/SearchFilter.java index 3139b77..564c824 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/taobao/SearchFilter.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/taobao/SearchFilter.java @@ -1,323 +1,346 @@ -package com.yeshi.fanli.entity.taobao; - -import java.math.BigDecimal; -import java.util.Set; - -public class SearchFilter { - private BigDecimal startPrice; - private BigDecimal endPrice; - private Set<String> params; - private String key; - private int page; - private int pageSize; - - // 鎺掑簭瀛楁 - // 閿�閲忥紙total_sales锛夋窐瀹剑閲戞瘮鐜囷紙tk_rate锛夌疮璁℃帹骞块噺锛坱k_total_sales锛夋�绘敮鍑轰剑閲戯紙tk_total_commi锛� - private int sort; - - private String cateIds; - // 瀹樻柟鐨勭墿鏂橧d - private String materialId; - - private boolean tmall; - - private int hongbao; - - private int type; - - private String shopTag; - // 1-鍖呴偖 0-涓嶅寘閭� - private boolean baoYou; - - private boolean tmFlagship; - - private int provinceId; - // 娣樺浣i噾姣旂巼涓婇檺锛屽锛�1234琛ㄧず12.34% - private int endTkRate; - // 娣樺浣i噾姣旂巼涓嬮檺锛屽锛�1234琛ㄧず12.34% - private int startTkRate; - // 1-鏈夊埜 0-鏃犲埜 - private int quan; - - - // 搴楅摵dsr璇勫垎锛岀瓫閫夐珮浜庣瓑浜庡綋鍓嶈缃殑搴楅摵dsr璇勫垎鐨勫晢鍝�0-50000涔嬮棿 - private int startDsr; - // 鏄惁娴峰鍟嗗搧锛岃缃负true琛ㄧず璇ュ晢鍝佹槸灞炰簬娴峰鍟嗗搧锛岃缃负false鎴栦笉璁剧疆琛ㄧず涓嶅垽鏂繖涓睘鎬� - private boolean overseas; - // 鏄惁鍔犲叆娑堣垂鑰呬繚闅滐紝true琛ㄧず鍔犲叆锛岀┖鎴杅alse琛ㄧず涓嶉檺 - private boolean needPrepay; - // 鎴愪氦杞寲鏄惁楂樹簬琛屼笟鍧囧�� - private boolean includePayRate30; - // 濂借瘎鐜囨槸鍚﹂珮浜庤涓氬潎鍊� - private boolean includeGoodRate; - // 閫�娆剧巼鏄惁浣庝簬琛屼笟鍧囧�� - private boolean includeRfdRate; - // 鐗涚毊鐧g▼搴︼紝鍙栧�硷細1:涓嶉檺锛�2:鏃狅紝3:杞诲井 - private int npxLevel; - - // 鏈堥攢閲� - private String startBiz30day; - - // 閿�鍞噺灏忓�� - private int minSales; - // 閿�鍞噺澶у�� - private int maxSales; - // 鏍囩 - private String lableNames; - - // ip鍦板潃 - private String ip; - - public SearchFilter() { - shopTag = ""; - } - - public boolean isTmFlagship() { - return tmFlagship; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public void setTmFlagship(boolean tmFlagship) { - this.tmFlagship = tmFlagship; - } - - public String getShopTag() { - return shopTag; - } - - public void setShopTag(String shopTag) { - this.shopTag = shopTag; - } - - public Set<String> getParams() { - return params; - } - - public boolean isBaoYou() { - return baoYou; - } - - public void setBaoYou(boolean baoYou) { - this.baoYou = baoYou; - } - - public void setParams(Set<String> params) { - this.params = params; - } - - public int getType() { - return type; - } - - public void setType(int type) { - this.type = type; - } - - public int getHongbao() { - return hongbao; - } - - public void setHongbao(int hongbao) { - this.hongbao = hongbao; - } - - public int getQuan() { - return quan; - } - - public void setQuan(int quan) { - this.quan = quan; - } - - public boolean isTmall() { - return tmall; - } - - public void setTmall(boolean tmall) { - this.tmall = tmall; - } - - public String getCateIds() { - return cateIds; - } - - public void setCateIds(String cateIds) { - this.cateIds = cateIds; - } - - public String getKey() { - return key; - } - - public void setKey(String key) { - this.key = key; - } - - public int getPage() { - return page; - } - - public void setPage(int page) { - this.page = page; - } - - public int getSort() { - return sort; - } - - public void setSort(int sort) { - this.sort = sort; - } - - public int getProvinceId() { - return provinceId; - } - - public void setProvinceId(int provinceId) { - this.provinceId = provinceId; - } - - public int getEndTkRate() { - return endTkRate; - } - - public void setEndTkRate(int endTkRate) { - this.endTkRate = endTkRate; - } - - public int getStartTkRate() { - return startTkRate; - } - - public void setStartTkRate(int startTkRate) { - this.startTkRate = startTkRate; - } - - public int getStartDsr() { - return startDsr; - } - - public void setStartDsr(int startDsr) { - this.startDsr = startDsr; - } - - public boolean isOverseas() { - return overseas; - } - - public void setOverseas(boolean overseas) { - this.overseas = overseas; - } - - public boolean isNeedPrepay() { - return needPrepay; - } - - public void setNeedPrepay(boolean needPrepay) { - this.needPrepay = needPrepay; - } - - public boolean isIncludePayRate30() { - return includePayRate30; - } - - public void setIncludePayRate30(boolean includePayRate30) { - this.includePayRate30 = includePayRate30; - } - - public boolean isIncludeGoodRate() { - return includeGoodRate; - } - - public void setIncludeGoodRate(boolean includeGoodRate) { - this.includeGoodRate = includeGoodRate; - } - - public boolean isIncludeRfdRate() { - return includeRfdRate; - } - - public void setIncludeRfdRate(boolean includeRfdRate) { - this.includeRfdRate = includeRfdRate; - } - - public int getNpxLevel() { - return npxLevel; - } - - public void setNpxLevel(int npxLevel) { - this.npxLevel = npxLevel; - } - - public String getStartBiz30day() { - return startBiz30day; - } - - public void setStartBiz30day(String startBiz30day) { - this.startBiz30day = startBiz30day; - } - - public BigDecimal getStartPrice() { - return startPrice; - } - - public void setStartPrice(BigDecimal startPrice) { - this.startPrice = startPrice; - } - - public BigDecimal getEndPrice() { - return endPrice; - } - - public void setEndPrice(BigDecimal endPrice) { - this.endPrice = endPrice; - } - - public int getMinSales() { - return minSales; - } - - public void setMinSales(int minSales) { - this.minSales = minSales; - } - - public int getMaxSales() { - return maxSales; - } - - public void setMaxSales(int maxSales) { - this.maxSales = maxSales; - } - - public String getLableNames() { - return lableNames; - } - - public void setLableNames(String lableNames) { - this.lableNames = lableNames; - } - - public String getIp() { - return ip; - } - - public void setIp(String ip) { - this.ip = ip; - } - - public String getMaterialId() { - return materialId; - } - - public void setMaterialId(String materialId) { - this.materialId = materialId; - } - -} +package com.yeshi.fanli.entity.taobao; + +import java.math.BigDecimal; +import java.util.Set; + +public class SearchFilter { + private BigDecimal startPrice; + private BigDecimal endPrice; + private Set<String> params; + private String key; + private int page; + private int pageSize; + + // 鎺掑簭瀛楁 + // 閿�閲忥紙total_sales锛夋窐瀹剑閲戞瘮鐜囷紙tk_rate锛夌疮璁℃帹骞块噺锛坱k_total_sales锛夋�绘敮鍑轰剑閲戯紙tk_total_commi锛� + private int sort; + + private String cateIds; + // 瀹樻柟鐨勭墿鏂橧d + private String materialId; + + private boolean tmall; + + private int hongbao; + + private int type; + + private String shopTag; + // 1-鍖呴偖 0-涓嶅寘閭� + private boolean baoYou; + + private boolean tmFlagship; + + private int provinceId; + // 娣樺浣i噾姣旂巼涓婇檺锛屽锛�1234琛ㄧず12.34% + private int endTkRate; + // 娣樺浣i噾姣旂巼涓嬮檺锛屽锛�1234琛ㄧず12.34% + private int startTkRate; + + // KA濯掍綋娣樺浣i噾姣旂巼涓婇檺锛屽锛�1234琛ㄧず12.34% + private int endKaTkRate; + // KA濯掍綋娣樺浣i噾姣旂巼涓嬮檺锛屽锛�1234琛ㄧず12.34% + private int startKaTkRate; + + + // 1-鏈夊埜 0-鏃犲埜 + private int quan; + + + // 搴楅摵dsr璇勫垎锛岀瓫閫夐珮浜庣瓑浜庡綋鍓嶈缃殑搴楅摵dsr璇勫垎鐨勫晢鍝�0-50000涔嬮棿 + private int startDsr; + // 鏄惁娴峰鍟嗗搧锛岃缃负true琛ㄧず璇ュ晢鍝佹槸灞炰簬娴峰鍟嗗搧锛岃缃负false鎴栦笉璁剧疆琛ㄧず涓嶅垽鏂繖涓睘鎬� + private boolean overseas; + // 鏄惁鍔犲叆娑堣垂鑰呬繚闅滐紝true琛ㄧず鍔犲叆锛岀┖鎴杅alse琛ㄧず涓嶉檺 + private boolean needPrepay; + // 鎴愪氦杞寲鏄惁楂樹簬琛屼笟鍧囧�� + private boolean includePayRate30; + // 濂借瘎鐜囨槸鍚﹂珮浜庤涓氬潎鍊� + private boolean includeGoodRate; + // 閫�娆剧巼鏄惁浣庝簬琛屼笟鍧囧�� + private boolean includeRfdRate; + // 鐗涚毊鐧g▼搴︼紝鍙栧�硷細1:涓嶉檺锛�2:鏃狅紝3:杞诲井 + private int npxLevel; + + // 鏈堥攢閲� + private String startBiz30day; + + // 閿�鍞噺灏忓�� + private int minSales; + // 閿�鍞噺澶у�� + private int maxSales; + // 鏍囩 + private String lableNames; + + // ip鍦板潃 + private String ip; + + public SearchFilter() { + shopTag = ""; + } + + public boolean isTmFlagship() { + return tmFlagship; + } + + public int getPageSize() { + return pageSize; + } + + public void setPageSize(int pageSize) { + this.pageSize = pageSize; + } + + public void setTmFlagship(boolean tmFlagship) { + this.tmFlagship = tmFlagship; + } + + public String getShopTag() { + return shopTag; + } + + public void setShopTag(String shopTag) { + this.shopTag = shopTag; + } + + public Set<String> getParams() { + return params; + } + + public boolean isBaoYou() { + return baoYou; + } + + public void setBaoYou(boolean baoYou) { + this.baoYou = baoYou; + } + + public void setParams(Set<String> params) { + this.params = params; + } + + public int getType() { + return type; + } + + public void setType(int type) { + this.type = type; + } + + public int getHongbao() { + return hongbao; + } + + public void setHongbao(int hongbao) { + this.hongbao = hongbao; + } + + public int getQuan() { + return quan; + } + + public void setQuan(int quan) { + this.quan = quan; + } + + public boolean isTmall() { + return tmall; + } + + public void setTmall(boolean tmall) { + this.tmall = tmall; + } + + public String getCateIds() { + return cateIds; + } + + public void setCateIds(String cateIds) { + this.cateIds = cateIds; + } + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public int getPage() { + return page; + } + + public void setPage(int page) { + this.page = page; + } + + public int getSort() { + return sort; + } + + public void setSort(int sort) { + this.sort = sort; + } + + public int getProvinceId() { + return provinceId; + } + + public void setProvinceId(int provinceId) { + this.provinceId = provinceId; + } + + public int getEndTkRate() { + return endTkRate; + } + + public void setEndTkRate(int endTkRate) { + this.endTkRate = endTkRate; + } + + public int getStartTkRate() { + return startTkRate; + } + + public void setStartTkRate(int startTkRate) { + this.startTkRate = startTkRate; + } + + public int getStartDsr() { + return startDsr; + } + + public void setStartDsr(int startDsr) { + this.startDsr = startDsr; + } + + public boolean isOverseas() { + return overseas; + } + + public void setOverseas(boolean overseas) { + this.overseas = overseas; + } + + public boolean isNeedPrepay() { + return needPrepay; + } + + public void setNeedPrepay(boolean needPrepay) { + this.needPrepay = needPrepay; + } + + public boolean isIncludePayRate30() { + return includePayRate30; + } + + public void setIncludePayRate30(boolean includePayRate30) { + this.includePayRate30 = includePayRate30; + } + + public boolean isIncludeGoodRate() { + return includeGoodRate; + } + + public void setIncludeGoodRate(boolean includeGoodRate) { + this.includeGoodRate = includeGoodRate; + } + + public boolean isIncludeRfdRate() { + return includeRfdRate; + } + + public void setIncludeRfdRate(boolean includeRfdRate) { + this.includeRfdRate = includeRfdRate; + } + + public int getNpxLevel() { + return npxLevel; + } + + public void setNpxLevel(int npxLevel) { + this.npxLevel = npxLevel; + } + + public String getStartBiz30day() { + return startBiz30day; + } + + public void setStartBiz30day(String startBiz30day) { + this.startBiz30day = startBiz30day; + } + + public BigDecimal getStartPrice() { + return startPrice; + } + + public void setStartPrice(BigDecimal startPrice) { + this.startPrice = startPrice; + } + + public BigDecimal getEndPrice() { + return endPrice; + } + + public void setEndPrice(BigDecimal endPrice) { + this.endPrice = endPrice; + } + + public int getMinSales() { + return minSales; + } + + public void setMinSales(int minSales) { + this.minSales = minSales; + } + + public int getMaxSales() { + return maxSales; + } + + public void setMaxSales(int maxSales) { + this.maxSales = maxSales; + } + + public String getLableNames() { + return lableNames; + } + + public void setLableNames(String lableNames) { + this.lableNames = lableNames; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getMaterialId() { + return materialId; + } + + public void setMaterialId(String materialId) { + this.materialId = materialId; + } + + public int getEndKaTkRate() { + return endKaTkRate; + } + + public void setEndKaTkRate(int endKaTkRate) { + this.endKaTkRate = endKaTkRate; + } + + public int getStartKaTkRate() { + return startKaTkRate; + } + + public void setStartKaTkRate(int startKaTkRate) { + this.startKaTkRate = startKaTkRate; + } + +} -- Gitblit v1.8.0