change alipay rate
This commit is contained in:
parent
f0fe54bc0e
commit
68632997c9
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue