dever 6 years ago
parent
commit
3cdc488e2e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      lib/Core.php

+ 5 - 1
lib/Core.php

@@ -53,7 +53,11 @@ class Core
 
 				$this->log($notify, $send);
 
-				Dever::load($notify, $send);
+				if (strstr($notify, 'http://') || strstr($notify, 'https://')) {
+					Dever::curl($notify, $send);
+				} else {
+					Dever::load($notify, $send);
+				}
 			}
 		} else {
 			$this->log('支付失败', '错误的订单id:' . $order_id);