lanxing 千分之无
This commit is contained in:
parent
7c510f0e3f
commit
2b2409f009
|
@ -27,8 +27,8 @@ const (
|
||||||
var allAlipayClients = map[string]*AlipayClient{}
|
var allAlipayClients = map[string]*AlipayClient{}
|
||||||
|
|
||||||
func GetDefaultAlipayClient() *AlipayClient {
|
func GetDefaultAlipayClient() *AlipayClient {
|
||||||
rate := rand.Intn(100)
|
rate := rand.Intn(1000)
|
||||||
if rate < 50 {
|
if rate < 995 {
|
||||||
return allAlipayClients[AppIdMiYuanTianShi]
|
return allAlipayClients[AppIdMiYuanTianShi]
|
||||||
}
|
}
|
||||||
return allAlipayClients[AppIdLanXing01]
|
return allAlipayClients[AppIdLanXing01]
|
||||||
|
|
Loading…
Reference in New Issue