Commit aff40ca6 authored by zhuwei's avatar zhuwei

log

parent 84239c2a
...@@ -22,9 +22,11 @@ class WxCallbackUntils ...@@ -22,9 +22,11 @@ class WxCallbackUntils
public function __construct() public function __construct()
{ {
if (strpos($this->http_host(), 'api') !== false) { if (strpos($this->http_host(), 'api') !== false) {
Log::write('正式服', 'WxCallbackUntils'); //记录日志
$this->appId = "wxbbeb8cd2f4b72aea"; $this->appId = "wxbbeb8cd2f4b72aea";
$this->appSecret = "9ac6d1680553f4b554f3b46d263fbfb3"; $this->appSecret = "9ac6d1680553f4b554f3b46d263fbfb3";
} else { } else {
Log::write('测试服', 'WxCallbackUntils'); //记录日志
$this->appId = "wxd30d74d1126d3278";//测试 $this->appId = "wxd30d74d1126d3278";//测试
$this->appSecret = "f29c8c502549020d2193a464be9632dc";//测试 $this->appSecret = "f29c8c502549020d2193a464be9632dc";//测试
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment