From 7f5c23d3e5c6db96081ca19a04e83ae9971824bf Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Fri, 18 Oct 2024 21:23:46 +0800 Subject: [PATCH] alipay rate --- library/payclients/alipaycli/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/payclients/alipaycli/client.go b/library/payclients/alipaycli/client.go index 755ea35b..0567097d 100644 --- a/library/payclients/alipaycli/client.go +++ b/library/payclients/alipaycli/client.go @@ -28,8 +28,8 @@ const ( var allAlipayClients = map[string]*AlipayClient{} func GetDefaultAlipayClient() *AlipayClient { - rate := rand.Intn(10) - if rate < 8 { + rate := rand.Intn(100) + if rate < 75 { return allAlipayClients[AppIdMiYuanTianShi] } return allAlipayClients[AppIdLanXing01]