Merge remote-tracking branch 'origin/main' into test

This commit is contained in:
Leufolium 2024-10-21 16:27:35 +08:00
commit 66ed43e94c
1 changed files with 2 additions and 2 deletions

View File

@ -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]