Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop

This commit is contained in:
Chopper 2021-08-12 00:29:11 +08:00
commit 522ca6f157
3 changed files with 3 additions and 1 deletions

View File

@ -229,6 +229,7 @@ public class Goods extends BaseEntity {
//如果立即上架则
this.marketEnable = goodsOperationDTO.getRelease() ? GoodsStatusEnum.UPPER.name() : GoodsStatusEnum.DOWN.name();
this.goodsType = goodsOperationDTO.getGoodsType();
this.grade = 100D;
//循环sku判定sku是否有效
for (Map<String, Object> sku : goodsOperationDTO.getSkuList()) {

View File

@ -588,6 +588,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper, GoodsSku> i
sku.setIntro(goods.getIntro());
sku.setMobileIntro(goods.getMobileIntro());
sku.setGoodsUnit(goods.getGoodsUnit());
sku.setGrade(100D);
//商品状态
sku.setIsAuth(goods.getIsAuth());
sku.setSalesModel(goods.getSalesModel());

View File

@ -91,7 +91,7 @@ public class LogisticsServiceImpl extends ServiceImpl<LogisticsMapper, Logistics
Map<String, String> params = new HashMap<String, String>(8);
params.put("RequestData", urlEncoder(requestData, "UTF-8"));
params.put("EBusinessID", EBusinessID);
params.put("RequestType", "8001");
params.put("RequestType", "1002");
String dataSign = encrypt(requestData, AppKey, "UTF-8");
params.put("DataSign", urlEncoder(dataSign, "UTF-8"));
params.put("DataType", "2");