Browse Source

//..coupon_

release_toaliyun_real
xhxu 2 years ago
parent
commit
e886ca15cb
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      mallinkAdmin/src/main/resources/db/migration/V2023071200003_coupon_poi.sql
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/TtCouponGoodsServiceImpl.java

+ 3
- 0
mallinkAdmin/src/main/resources/db/migration/V2023071200003_coupon_poi.sql View File

@@ -2,6 +2,9 @@ update tt_coupon_channel_poi set status = last_status,status_desc = last_status_

update tt_coupon_channel_poi set status = 2 where status = 4;

ALTER TABLE `mallink`.`tt_coupon_channel_poi`
DROP INDEX `supplier_ext_id`;



INSERT INTO `mallink`.`mall_permission`(`id`, `name`, `parent_id`, `available`, `permission`, `resource_type`, `module_color`, `module_color_num`, `url`, `icon`, `version_type`, `sort`) VALUES (679, '抖音POI投放', 606, 'Y', NULL, 1, NULL, NULL, 'poiputon', NULL, 0, 679);


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

@@ -407,6 +407,7 @@ public class TtCouponGoodsServiceImpl implements TtCouponGoodsService {
throw new Exception("未获取到抖音商品product_id");
}


syncCouponChannelPoi(coupon,wxCouponChannel.getId(),productId);

return new ResultData();


Loading…
Cancel
Save