lanxing 千分之无

This commit is contained in:
lwl0608 2024-07-11 15:14:27 +08:00
parent 7c510f0e3f
commit 2b2409f009
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ const (
var allAlipayClients = map[string]*AlipayClient{}
func GetDefaultAlipayClient() *AlipayClient {
rate := rand.Intn(100)
if rate < 50 {
rate := rand.Intn(1000)
if rate < 995 {
return allAlipayClients[AppIdMiYuanTianShi]
}
return allAlipayClients[AppIdLanXing01]