|
@@ -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());
|