point bug
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
package com;
|
||||
|
||||
import com.peanut.modules.pay.weChatPay.config.WechatPayConfig;
|
||||
import com.peanut.modules.pay.weChatPay.dto.WechatPaymentInfo;
|
||||
import org.junit.Test;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.math.BigDecimal;
|
||||
import java.security.PrivateKey;
|
||||
@SpringBootTest
|
||||
public class VxApiTest {
|
||||
@@ -32,5 +33,13 @@ public class VxApiTest {
|
||||
System.out.println(mchId);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void mytest(){
|
||||
WechatPaymentInfo wechatPaymentInfo = new WechatPaymentInfo();
|
||||
wechatPaymentInfo.setTotalAmount(new BigDecimal(56));
|
||||
wechatPaymentInfo.setOrderSn("testtest");
|
||||
System.out.println(wechatPaymentInfo.toString());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user