コード例 #1
0
ファイル: WxPayNotifyAbstract.php プロジェクト: phpres/wxpay
 /**
  *
  * 回复通知
  * @param bool $needSign 是否需要签名输出
  * @throws WxPayException
  */
 private final function ReplyNotify($needSign = true)
 {
     //如果需要签名
     if ($needSign == true && $this->GetReturn_code() == "SUCCESS") {
         $this->SetSign();
     }
     $this->wxPayApi->replyNotify($this->ToXml());
 }
コード例 #2
0
 /**
  * 
  * 回复通知
  * @param bool $needSign 是否需要签名输出
  */
 private final function ReplyNotify($needSign = true)
 {
     //如果需要签名
     if ($needSign == true && $this->GetReturn_code($return_code) == "SUCCESS") {
         $this->SetSign();
     }
     WxPayApi::setConfig($this->config);
     WxPayApi::replyNotify($this->ToXml());
 }