...
|
...
|
@@ -70,7 +70,7 @@ public class ProductController { |
|
|
ProductDetailResp resp = productService.queryProductDetailById(productId);
|
|
|
|
|
|
String hasSecondHandSorts = configReader.getString("ufo.product.secondHandSorts", ""); // 通过配置品类 来限制哪些品类可以二手发布
|
|
|
if (StringUtils.isNotBlank(hasSecondHandSorts)) {
|
|
|
if (StringUtils.isNotBlank(hasSecondHandSorts) && null != resp.getProduct_info()) {
|
|
|
String[] sorts = hasSecondHandSorts.split(",");
|
|
|
ProductInfo p = resp.getProduct_info();
|
|
|
String thisProductSort = p.getMaxSortId().toString();
|
...
|
...
|
|