dever 6 years ago
parent
commit
a088e2a212
2 changed files with 1 additions and 2 deletions
  1. 1 1
      lib/Core.php
  2. 0 1
      lib/Wechat.php

+ 1 - 1
lib/Core.php

@@ -74,7 +74,7 @@ class Core
 	{
 		//$project = Dever::project('pay');
 		//return $project['url'] . 'daemon/notify/'.$type.'.php';
-		return Dever::url('api.notify?account_id=' . $account_id, 'pay');
+		return str_replace('?', '', Dever::url('api.notify?account_id=' . $account_id, 'pay'));
 	}
 
 	/**

+ 0 - 1
lib/Wechat.php

@@ -10,7 +10,6 @@ class Wechat extends Core
 		$this->config = new \WxPayConfig();
 		# 通知接口
 		$config['notify'] = $this->url($config['type'], $config['id']);
-		echo $config['notify'];die;
 		# 证书
 		$config['ssl'] = array
 		(