新增 微信第三方平台 获取令牌接口

This commit is contained in:
Lemon
2023-07-28 14:47:26 +08:00
parent 82a964d70e
commit 162dec41d4
6 changed files with 163 additions and 25 deletions

View File

@@ -60,6 +60,7 @@ import com.jsowell.pile.dto.ApplyRefundDTO;
import com.jsowell.wxpay.response.WechatPayRefundRequest;
import com.jsowell.wxpay.service.WxAppletRemoteService;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@@ -1428,6 +1429,8 @@ public class SpringBootTestController {
String str = "JS160829";
System.out.println(Md5Utils.hash(str).toUpperCase(Locale.ROOT));
*/
String s = RandomStringUtils.randomAlphanumeric(43).toUpperCase(Locale.ROOT);
System.out.println(s);
Date startTimeDate = sdf.parse("2022-11-26 10:44:11");
Date endTimeDate = sdf.parse("2022-11-27 12:45:11");