From d5af0d750d27d90d31f7af64ae8af820df083d6f Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 18 Jul 2024 22:12:43 +0800 Subject: [PATCH] 1:20 lanxing:miyuan --- 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 ee2a368a..3212bbd4 100644 --- a/library/payclients/alipaycli/client.go +++ b/library/payclients/alipaycli/client.go @@ -27,8 +27,8 @@ const ( var allAlipayClients = map[string]*AlipayClient{} func GetDefaultAlipayClient() *AlipayClient { - rate := rand.Intn(1000) - if rate < 980 { + rate := rand.Intn(20) + if rate < 19 { return allAlipayClients[AppIdMiYuanTianShi] } return allAlipayClients[AppIdLanXing01]