private void ThreadProcSafePost( ) { while (true) { //休眠一分钟 Thread.Sleep(1000 * 60); ReviewOrderBll.SendInfoForOrder sender = new ReviewOrderBll.SendInfoForOrder("''"); UpdateAccessToken(false); isOk = sender.ReceiveResult(AccessToken.Value); } }
/// <summary> /// 发送订单审核消息 /// </summary> private void SendMessageForOrder(string strWhere) { ReviewOrderBll.SendInfoForOrder sender = new ReviewOrderBll.SendInfoForOrder(strWhere); UpdateAccessToken(false); sender.SendMessageForOrder(AccessToken.Value); }