fix(优惠券中心):携程全链路调试完成
This commit is contained in:
+1
-4
@@ -4,10 +4,7 @@ import com.central.common.constant.ServiceNameConstants;
|
||||
import com.central.common.model.Result;
|
||||
import com.central.device.feign.fallback.OrderCenterServiceFallbackFactory;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
+5
@@ -39,6 +39,11 @@ public class OrderCenterServiceFallbackFactory implements FallbackFactory<OrderC
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> getQrcodeByDeviceId(String deviceId, Integer qrcodeType) {
|
||||
return Map.of();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Result createRefundForOfflineDevice(String orderNo, Map<String, Object> refundBody) {
|
||||
log.error("调用订单中心退款接口失败: orderNo={}, cause={}", orderNo, cause.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user