Browse Source

优惠券开发接口

gongfuzhu 10 months ago
parent
commit
44725b8e7b

+ 7 - 7
SpringBatchServiceServer/src/main/java/com/zswl/cloud/springBtach/server/core/service/impl/XiaoJuServiceImpl.java

@@ -692,13 +692,13 @@ public class XiaoJuServiceImpl implements XiaoJuService {
             xiaoJuActivityReceiverDao.save(xiaoJuActivityReceiver);
             apiLog.setResponse(JSONUtil.toJsonStr(response));
             apiLogDao.save(apiLog);
-            ArrayList< com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo> objects = new ArrayList<>();
-            for (GenPromotionInfo genPromotionInfo : response) {
-                com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo s = new com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo();
-                BeanUtils.copyProperties(genPromotionInfo, s);
-
-            }
-            return ResultContent.buildContent(objects);
+//            ArrayList< com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo> objects = new ArrayList<>();
+//            for (GenPromotionInfo genPromotionInfo : response) {
+//                com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo s = new com.zswl.cloud.springBatch.client.model.xiaoju.GenPromotionInfo();
+//                BeanUtils.copyProperties(genPromotionInfo, s);
+//
+//            }
+            return ResultContent.buildContent(response);
         } catch (Exception e) {
             e.printStackTrace();
             apiLog.setResponse(e.getCause().getCause().getMessage());