mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-21 13:41:53 +08:00
创建交易订单-单元测试
This commit is contained in:
@@ -15,6 +15,6 @@ public interface PayOrderApi {
|
||||
* @param reqDTO 创建请求
|
||||
* @return 支付单编号
|
||||
*/
|
||||
Long createPayOrder(@Valid PayOrderDataCreateReqDTO reqDTO);
|
||||
Long createPayOrder(@Valid PayOrderInfoCreateReqDTO reqDTO);
|
||||
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ import java.util.Date;
|
||||
* @author LeeYan9
|
||||
*/
|
||||
@Data
|
||||
public class PayOrderDataCreateReqDTO implements Serializable {
|
||||
public class PayOrderInfoCreateReqDTO implements Serializable {
|
||||
|
||||
/**
|
||||
* 应用编号
|
@@ -0,0 +1,19 @@
|
||||
package cn.iocoder.yudao.module.pay.api.order;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
/**
|
||||
* @author LeeYan9
|
||||
* @since 2022-09-06
|
||||
*/
|
||||
@Service
|
||||
public class PayOrderApiImpl implements PayOrderApi {
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Long createPayOrder(PayOrderInfoCreateReqDTO reqDTO) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user