1.优化代运营
This commit is contained in:
parent
5355352f07
commit
cb4a64f030
|
@ -54,9 +54,11 @@ namespace ProductClient
|
|||
//var thread = TimerTask.NewTimer<MonitorThread>(60) as MonitorThread;
|
||||
|
||||
EventClient.DyyNoticeEvent += EventClient_DyyNoticeEvent;
|
||||
|
||||
//EventClient_DyyNoticeEvent(null, new DyyNoticeEvent()
|
||||
//{
|
||||
// Data = "{\"Id\":\"122522636742819840\",\"TaskId\":\"122522636742819840\",\"IsGoods\":true}"
|
||||
// //Data = "{\"Id\":\"122522636742819840\",\"TaskId\":\"122522636742819840\",\"IsGoods\":true}"
|
||||
// Data = "{\"TaskId\":\"142515582485397504\",\"CollectionSourceId\":\"129505086429724672\",\"IsGoods\":true}"
|
||||
//});
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
@ -110,7 +112,7 @@ namespace ProductClient
|
|||
var json = e.Data;
|
||||
//{"Id":"122522636742819840","TaskId":"122522636742819840","IsGoods":true}
|
||||
|
||||
//var json = "{\"TaskId\":\"133038429393911808\",\"CollectionSourceId\":\"129505086429724672\",\"IsGoods\":true}";
|
||||
//var json = "{\"TaskId\":\"142515582485397504\",\"CollectionSourceId\":\"129505086429724672\",\"IsGoods\":true}";
|
||||
|
||||
var jObj = JObject.Parse(json);
|
||||
var taskId = jObj["TaskId"]?.Value<string>();
|
||||
|
@ -127,6 +129,11 @@ namespace ProductClient
|
|||
//发送任务来源Id
|
||||
var collectionSourceId = jObj["CollectionSourceId"]?.Value<string>();
|
||||
|
||||
if (Config.sourceId == null)
|
||||
{
|
||||
Config.sourceId = "129505086429724672";
|
||||
}
|
||||
|
||||
if (Config.sourceId != collectionSourceId)
|
||||
{
|
||||
return;
|
||||
|
|
|
@ -75,8 +75,6 @@ namespace ProductClient
|
|||
Class1.Config.sourceId = "129505086429724672";
|
||||
}
|
||||
|
||||
|
||||
|
||||
var collectionSources = GetCollectionSourceAll();
|
||||
if (collectionSources != null)
|
||||
{
|
||||
|
|
|
@ -71,8 +71,7 @@ namespace CircleFriendsTools
|
|||
{
|
||||
var item = _item;
|
||||
|
||||
if (Class1.Config.transpond_send_usernames.Count != 0 &&
|
||||
!Class1.Config.transpond_send_usernames.Contains(item.WeixinHao))
|
||||
if (Class1.Config.transpond_send_usernames.Count != 0 && !Class1.Config.transpond_send_usernames.Contains(item.WeixinHao))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue