Sfoglia il codice sorgente

营销系统-手动推送

wangcl 1 settimana fa
parent
commit
10a96e8cd8

+ 0 - 11
pig-marketing/pig-marketing-api/src/main/java/com/pig4cloud/pig/marketing/api/entity/MktMgmtPushRecord.java

@@ -97,17 +97,6 @@ public class MktMgmtPushRecord extends Model<MktMgmtPushRecord> {
 	@Schema(description = "规则ID")
 	private Long ruleId;
 
-	/**
-	 * 推送IP
-	 */
-	@Schema(description = "推送IP")
-	private String pushIP;
-
-	/**
-	 * 推送域名
-	 */
-	@Schema(description = "推送域名")
-	private String pushDomain;
 
 	/**
 	 * 删除标记

+ 1 - 1
pig-marketing/pig-marketing-biz/src/main/java/com/pig4cloud/pig/marketing/controller/MktMgmtHandPushController.java

@@ -38,7 +38,7 @@ public class MktMgmtHandPushController {
      */
     @GetMapping("/page")
     @Operation(summary = "分页查询手动推送记录", description = "根据条件分页查询手动推送记录")
-    public R<Page<HandPushVO>> pageQuery(@Valid MktMgmtHandPushQueryDTO queryDTO) {
+    public R<Page<HandPushVO>> pageQuery(@RequestBody @Valid MktMgmtHandPushQueryDTO queryDTO) {
         try {
             Page<HandPushVO> result = mktMgmtHandPushService.pageQuery(queryDTO);
             return R.ok(result);

+ 0 - 2
pig-marketing/pig-marketing-biz/src/main/java/com/pig4cloud/pig/marketing/service/impl/MktMgmtHandPushServiceImpl.java

@@ -240,8 +240,6 @@ public class MktMgmtHandPushServiceImpl implements MktMgmtHandPushService {
         pushRecord.setRuleId(0L); // 全局规则ID为0
         pushRecord.setRuleName("全局手动推送规则");
         pushRecord.setPushContent(globalRule.getPushContent());
-        pushRecord.setPushIP(saveDTO.getPushIP());
-        pushRecord.setPushDomain(saveDTO.getPushDomain());
         pushRecord.setAutoPush(1);
         pushRecord.setPushStatus(true);
         pushRecord.setCreateTime(LocalDateTime.now());