Merge remote-tracking branch 'origin/main' into test
This commit is contained in:
commit
66ed43e94c
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue