提交 d3e9fa05 authored 作者: Whispa's avatar Whispa

commit commit

上级 a4933243
...@@ -28,10 +28,10 @@ public class ShopifyController { ...@@ -28,10 +28,10 @@ public class ShopifyController {
@RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize, @RequestParam(value = "pageSize", defaultValue = "10") Integer pageSize,
@RequestParam(value = "userId", required = false) String userId) { @RequestParam(value = "userId", required = false) String userId) {
Page<TbCfItemComment> list = repository.findAllByItemId(itemId, PageRequest.of(pageNum, pageSize)); Page<TbCfItemComment> list = repository.findAllByItemId(itemId, PageRequest.of(pageNum, pageSize));
List<TbCfItemComment> content = list.getContent(); // List<TbCfItemComment> content = list.getContent();
for (TbCfItemComment item : content){ // for (TbCfItemComment item : content){
//if(StringUtils.isNotBlank(userId)) item.setLike(repository.existsByUserIdAndItemId(userId,itemId)); // if(StringUtils.isNotBlank(userId)) item.setLike(repository.existsByUserUserIdAndItemId(userId,itemId));
} // }
return new Result<>(list); return new Result<>(list);
} }
} }
...@@ -56,13 +56,13 @@ dpo: ...@@ -56,13 +56,13 @@ dpo:
#取消地址 #取消地址
back_url: http://159.138.48.71:8080/zion/dpo/cancel back_url: http://159.138.48.71:8080/zion/dpo/cancel
#支付成功页面 #支付成功页面
success_url: https://dev.diaosaas.com/afrishop_web/payment_successful success_url: https://www.afrieshop.com/payment_successful
#支付失败页面 #支付失败页面
failed_url: https://dev.diaosaas.com/afrishop_web/payment_failed failed_url: https://www.afrieshop.com/payment_failed
#WEB支付成功页面 #WEB支付成功页面
mobile_success_url: https://m.afrieshop.com/#/Paysuccess mobile_success_url: https://m.afrieshop.com/Paysuccess
#WEB支付成功页面 #WEB支付成功页面
mobile_failed_url: https://m.afrieshop.com/#/PayFail mobile_failed_url: https://m.afrieshop.com/PayFail
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论