fix alipay rate
This commit is contained in:
parent
83f4ca3dfd
commit
ae710ffbc9
|
@ -29,7 +29,7 @@ var allAlipayClients = map[string]*AlipayClient{}
|
||||||
|
|
||||||
func GetDefaultAlipayClient() *AlipayClient {
|
func GetDefaultAlipayClient() *AlipayClient {
|
||||||
rate := rand.Intn(10)
|
rate := rand.Intn(10)
|
||||||
if rate < 9 {
|
if rate < 8 {
|
||||||
return allAlipayClients[AppIdMiYuanTianShi]
|
return allAlipayClients[AppIdMiYuanTianShi]
|
||||||
}
|
}
|
||||||
return allAlipayClients[AppIdLanXing01]
|
return allAlipayClients[AppIdLanXing01]
|
||||||
|
|
Loading…
Reference in New Issue