记得上下班打卡 | git大法好,push需谨慎

Commit 2cc9dfdf authored by wangyifan's avatar wangyifan

优化注释

parent b9e6db04
...@@ -71,10 +71,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService { ...@@ -71,10 +71,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService {
} }
// 调用收钱吧查询券码 // 调用收钱吧查询券码
CouponQueryRequest req = new CouponQueryRequest();
req.setAppid(sqbBiz.getSqbConfig().getAppId());
req.setSeller(buildSeller());
CouponQueryData couponData = sqbBiz.queryCoupon(orderVo.getSqbOrderSn(), orderVo.getSqbOrderSignature()); CouponQueryData couponData = sqbBiz.queryCoupon(orderVo.getSqbOrderSn(), orderVo.getSqbOrderSignature());
if (couponData == null) return ResponseDto.failure("获取券码失败"); if (couponData == null) return ResponseDto.failure("获取券码失败");
...@@ -325,14 +321,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService { ...@@ -325,14 +321,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService {
// ================================ 私有辅助方法 ================================ // ================================ 私有辅助方法 ================================
private CommonRequest.Seller buildSeller() {
CommonRequest.Seller seller = new CommonRequest.Seller();
seller.setMerchantId(sqbBiz.getSqbConfig().getMerchantId());
seller.setMerchantUserId(sqbBiz.getSqbConfig().getMerchantUserId());
seller.setRole(sqbBiz.getSqbConfig().getRole());
return seller;
}
private GoblinSqbOrderDetailVo buildDetailVo(GoblinStoreOrderVo storeOrderVo, private GoblinSqbOrderDetailVo buildDetailVo(GoblinStoreOrderVo storeOrderVo,
GoblinOrderSkuVo skuVo, GoblinOrderSkuVo skuVo,
...@@ -378,17 +366,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService { ...@@ -378,17 +366,6 @@ public class GoblinSqbServiceImpl implements IGoblinSqbService {
return raw.length() > 40 ? raw.substring(0, 40) : raw; return raw.length() > 40 ? raw.substring(0, 40) : raw;
} }
/**
* 构建收钱吧订单标题,不超过32位。
*
* @param name 商品名称
* @return 不超过32位的标题字符串
*/
private String buildTitle(String name) {
if (name == null || name.isEmpty()) return "商品支付";
return name.length() > 32 ? name.substring(0, 32) : name;
}
/** /**
* 同步正在商品订单状态 * 同步正在商品订单状态
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment