From 68632997c98bef3c289029384529ac6ff81da66f Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Tue, 6 Aug 2024 20:54:38 +0800 Subject: [PATCH] change 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 a1e84805..da879585 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(20) - if rate < 19 { + rate := rand.Intn(10) + if rate < 9 { return allAlipayClients[AppIdMiYuanTianShi] } return allAlipayClients[AppIdLanXing01]