|
|
@@ -6,7 +6,6 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springblade.common.cache.PaymentCache;
|
|
|
import org.springblade.common.enums.*;
|
|
|
-import org.springblade.common.utils.TradeException;
|
|
|
import org.springblade.core.log.exception.ServiceException;
|
|
|
import org.springblade.core.tool.api.R;
|
|
|
import org.springblade.gateway.client_gateway.entity.dto.ClientTradeDto;
|
|
|
@@ -66,14 +65,15 @@ public class ClientTradeController {
|
|
|
.openId(loginUser.getOpenid())
|
|
|
.build();
|
|
|
|
|
|
- SuccessParams successParams = null;
|
|
|
+ /*SuccessParams successParams = null;
|
|
|
|
|
|
try {
|
|
|
successParams = trade.tradeForScanPay(order, clientTradeDto.getChannelId());
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
throw new TradeException(ResCode.TRADE_ERROR, successParams);
|
|
|
- }
|
|
|
+ }*/
|
|
|
+ SuccessParams successParams = trade.tradeForScanPay(order, clientTradeDto.getChannelId());
|
|
|
return R.data(successParams);
|
|
|
}
|
|
|
|