Authored by tanling

no message

... ... @@ -76,7 +76,6 @@ public class PaymentServiceImpl implements IPaymentService {
*/
public PrepayResponse payment(PaymentRequest request){
// 入口数据检查
if (request.getUid() < 0
|| request.getOrderCode() < 0){
... ... @@ -110,7 +109,7 @@ public class PaymentServiceImpl implements IPaymentService {
return response;
}else {
response.setPrepayResult(PrepayResponse.FAILED);
response.setJsonObj(resultJSON);s
response.setJsonObj(resultJSON);
logger.warn("payment fail, orderCode is {}, result is {}", request.getOrderCode(), result);
return response;
}
... ... @@ -180,7 +179,7 @@ public class PaymentServiceImpl implements IPaymentService {
// 检查实付金额 TODO
// 更新预支付方式
sellerOrder.setPayment((byte)request.getPayment());
sellerOrder.setPayment(request.getPayment());
sellerOrder.setUpdateTime(DateUtil.getCurrentTimeSecond());
sellerOrderMapper.updateByPrimaryKey(sellerOrder);
... ...
... ... @@ -53,7 +53,7 @@ datasources:
- com.yohoufo.dal.order.SellerOrderGoodsMapper
- com.yohoufo.dal.order.SellerOrderMapper
- com.yohoufo.dal.order.SellerOrderMetaMapper
ufo_resource:
servers:
- 192.168.102.219:3306
... ...