Fixing .gitignore

This commit is contained in:
wangjinlei
2023-09-19 18:24:19 +08:00
parent 06e2f68ad9
commit ae15750e6a
581 changed files with 67226 additions and 67275 deletions

View File

@@ -1,36 +1,36 @@
package com;
import com.peanut.modules.pay.weChatPay.config.WechatPayConfig;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
import java.security.PrivateKey;
@SpringBootTest
public class VxApiTest {
@Resource
private WechatPayConfig wechatPayConfig;
@Test
public void textgetPrivateKey(){
//获取私钥路径
String keyPemPath = wechatPayConfig.getKeyPemPath();
//获取私钥
PrivateKey privateKey = wechatPayConfig.getPrivateKey(keyPemPath);
//输出很长的字符串 如果有问题转json试试
System.out.println(privateKey);
}
@Test
public void getWxPayConfig(){
String mchId =wechatPayConfig.getMchId();
System.out.println(mchId);
}
}
package com;
import com.peanut.modules.pay.weChatPay.config.WechatPayConfig;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import javax.annotation.Resource;
import java.security.PrivateKey;
@SpringBootTest
public class VxApiTest {
@Resource
private WechatPayConfig wechatPayConfig;
@Test
public void textgetPrivateKey(){
//获取私钥路径
String keyPemPath = wechatPayConfig.getKeyPemPath();
//获取私钥
PrivateKey privateKey = wechatPayConfig.getPrivateKey(keyPemPath);
//输出很长的字符串 如果有问题转json试试
System.out.println(privateKey);
}
@Test
public void getWxPayConfig(){
String mchId =wechatPayConfig.getMchId();
System.out.println(mchId);
}
}