change alipay rate

This commit is contained in:
lwl0608 2024-08-06 20:54:38 +08:00
parent f0fe54bc0e
commit 68632997c9
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(20)
if rate < 19 {
rate := rand.Intn(10)
if rate < 9 {
return allAlipayClients[AppIdMiYuanTianShi]
}
return allAlipayClients[AppIdLanXing01]