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]