6 changed files with 55 additions and 2 deletions
@ -0,0 +1,40 @@ |
|||
package cn.chjyj.szwh.service.impl; |
|||
|
|||
import cn.chjyj.szwh.service.PayService; |
|||
import org.junit.Test; |
|||
import org.junit.runner.RunWith; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.boot.test.context.SpringBootTest; |
|||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; |
|||
|
|||
import static org.junit.Assert.*; |
|||
|
|||
@SpringBootTest |
|||
@RunWith(SpringJUnit4ClassRunner.class) |
|||
public class PayServiceImplTest { |
|||
@Autowired |
|||
private PayService payService; |
|||
@Test |
|||
public void payComplete() { |
|||
} |
|||
|
|||
// 支付完成的处理
|
|||
@Test |
|||
public void payFinishOperate() { |
|||
String batchcode ="1670377727385829"; |
|||
int ii = payService.payFinishOperate(batchcode); |
|||
System.out.println(ii); |
|||
} |
|||
|
|||
@Test |
|||
public void payCallback() { |
|||
} |
|||
|
|||
@Test |
|||
public void invoiceBuyOperate() { |
|||
} |
|||
|
|||
@Test |
|||
public void invoiceSellerOperate() { |
|||
} |
|||
} |
|||
Loading…
Reference in new issue