Browse Source

fix

release_toaliyun_real
winter 1 year ago
parent
commit
35669bfa93
3 changed files with 2 additions and 9 deletions
  1. +2
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/market/TtCouponGoodsController.java
  2. +0
    -6
      mallinkService/src/main/java/com/iformall/douyin/web/bean/Product.java
  3. +0
    -2
      mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java

+ 2
- 1
mallinkAdmin/src/main/java/com/iformall/controller/market/TtCouponGoodsController.java View File

@@ -146,7 +146,8 @@ public class TtCouponGoodsController extends DouyinBaseController {
}

try {
boolean isSaas = this.isGoodLifeSaas();
//boolean isSaas = this.isGoodLifeSaas();
boolean isSaas = true;
return ttCouponGoodsService.productSave(coupon,isSaas);
} catch (Exception e) {
logger.error("product save error.",e);


+ 0
- 6
mallinkService/src/main/java/com/iformall/douyin/web/bean/Product.java View File

@@ -25,12 +25,6 @@ public class Product implements Serializable {
@SerializedName(value = "account_id")
private String accountId;
/**
* 抖音来客ID(老路径传的参数)
*/
@SerializedName(value = "owner_account_id")
private String ownerAccountId;
/**
* 草稿状态 10-审核中 12-审核失败 1-审核通过
*/


+ 0
- 2
mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java View File

@@ -398,8 +398,6 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService {
//都需要accountId
if (isSaas) {
product.setAccountId(getDouyinLaikeId(coupon));
}else {
product.setOwnerAccountId(getDouyinLaikeId(coupon));
}

String productId = null;


Loading…
Cancel
Save