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

Commit 760b03b7 authored by 姜秀龙's avatar 姜秀龙

离线支付-迈之log

parent 41cf7326
...@@ -19,6 +19,7 @@ import com.liquidnet.service.goblin.service.IGoblinRechargeWristbandService; ...@@ -19,6 +19,7 @@ import com.liquidnet.service.goblin.service.IGoblinRechargeWristbandService;
import com.liquidnet.service.goblin.util.GoblinRedisUtils; import com.liquidnet.service.goblin.util.GoblinRedisUtils;
import com.liquidnet.service.goblin.util.QueueUtils; import com.liquidnet.service.goblin.util.QueueUtils;
import com.liquidnet.service.goblin.util.ThirdMaiZhiUtils; import com.liquidnet.service.goblin.util.ThirdMaiZhiUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils; import org.springframework.util.CollectionUtils;
...@@ -37,6 +38,7 @@ import java.util.List; ...@@ -37,6 +38,7 @@ import java.util.List;
* @author jiangxiulong * @author jiangxiulong
* @since 2025-07-03 * @since 2025-07-03
*/ */
@Slf4j
@Service @Service
public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechargeWristbandMapper, GoblinRechargeWristband> implements IGoblinRechargeWristbandService { public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechargeWristbandMapper, GoblinRechargeWristband> implements IGoblinRechargeWristbandService {
...@@ -105,6 +107,8 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar ...@@ -105,6 +107,8 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar
String accessToken = this.getAccessToken(); String accessToken = this.getAccessToken();
if (null != accessToken) { if (null != accessToken) {
OrderResponse addOrder = thirdMaiZhiUtils.addOrder(accessToken, param); OrderResponse addOrder = thirdMaiZhiUtils.addOrder(accessToken, param);
log.info("createOrder OrderParam:{}", param);
log.info("createOrder addOrder:{}", addOrder);
if (addOrder != null && addOrder.getErrcode() == 200) { if (addOrder != null && addOrder.getErrcode() == 200) {
OrderInfoParam orderInfoParam = OrderInfoParam.getNew(); OrderInfoParam orderInfoParam = OrderInfoParam.getNew();
List<String> orderList = new ArrayList<>(); List<String> orderList = new ArrayList<>();
...@@ -119,9 +123,11 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar ...@@ -119,9 +123,11 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar
@Override @Override
public OrderInfoResponse getOrder(OrderInfoParam param, String orderId) { public OrderInfoResponse getOrder(OrderInfoParam param, String orderId) {
log.info("getOrder OrderParam:{}", param);
String accessToken = this.getAccessToken(); String accessToken = this.getAccessToken();
if (null != accessToken) { if (null != accessToken) {
OrderInfoResponse order = thirdMaiZhiUtils.getOrder(accessToken, param); OrderInfoResponse order = thirdMaiZhiUtils.getOrder(accessToken, param);
log.info("getOrder order:{}", order);
if (order != null && order.getErrcode() == 200) { if (order != null && order.getErrcode() == 200) {
List<OrderInfoResponse.OrderList> outlist = order.getOutlist(); List<OrderInfoResponse.OrderList> outlist = order.getOutlist();
OrderInfoResponse.OrderList orderList = outlist.get(0); OrderInfoResponse.OrderList orderList = outlist.get(0);
......
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