1.只发送给微信支付
This commit is contained in:
parent
8ac1f62a23
commit
df2e111f67
|
@ -169,7 +169,7 @@ namespace PCRobot
|
||||||
{ }
|
{ }
|
||||||
}
|
}
|
||||||
|
|
||||||
List<string> userNameList = new List<string>() { "gh_3dfda90e39d6", "gh_7aac992b0363" };
|
List<string> userNameList = new List<string>() { "gh_3dfda90e39d6"/*, "gh_7aac992b0363"*/ };
|
||||||
|
|
||||||
private Dictionary<string, bool> PublicUserCache = new Dictionary<string, bool>();
|
private Dictionary<string, bool> PublicUserCache = new Dictionary<string, bool>();
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ namespace PCRobot
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Thread.Sleep(1000 * 60 * new Random(Guid.NewGuid().GetHashCode()).Next(8, 12));
|
Thread.Sleep(1000 * 60 * new Random(Guid.NewGuid().GetHashCode()).Next(5, 10));
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -212,7 +212,9 @@ namespace PCRobot
|
||||||
var robot = client as Wechat_Xiaoxie;
|
var robot = client as Wechat_Xiaoxie;
|
||||||
if (robot != null)
|
if (robot != null)
|
||||||
{
|
{
|
||||||
var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count);
|
//var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count);
|
||||||
|
//var index = new Random(Guid.NewGuid().GetHashCode()).Next(0, userNameList.Count);
|
||||||
|
var index = 0;
|
||||||
var username = userNameList[index];
|
var username = userNameList[index];
|
||||||
|
|
||||||
if (username.StartsWith("gh_", StringComparison.CurrentCultureIgnoreCase))
|
if (username.StartsWith("gh_", StringComparison.CurrentCultureIgnoreCase))
|
||||||
|
|
Loading…
Reference in New Issue