Skip to content

Commit 43cc127

Browse files
committed
fix
1 parent 77eb3f4 commit 43cc127

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/application/api/controller/AuthController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function initialize()
5252
}
5353
}
5454
}
55-
Log::info(['access:', $this->accessToken, $this->accessSession]);
55+
Log::info('access:' . $this->accessToken . '/' . var_export($this->accessSession, true));
5656
if (
5757
empty($this->accessToken) &&
5858
!in_array($this->request->action(), ['token', 'wxsign', 'wxauth', 'wxautologin', 'wxlogin', 'refresh'])
@@ -76,7 +76,7 @@ public function __destruct()
7676
json_encode($this->accessSession, JSON_UNESCAPED_UNICODE),
7777
['expire' => 60 * 10]
7878
);
79-
Log::info(['access cache:', $this->accessToken, $this->accessSession]);
79+
Log::info('access cache:' . $this->accessToken . '/' . var_export($this->accessSession, true));
8080
}
8181
}
8282

src/application/api/controller/MemberController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public function uploadBase64()
365365
$info = getimagesize($path . $file);
366366
if ($info === false) {
367367
unlink($path . $file);
368-
Log::info($info);
368+
Log::info('getimagesize error: ' . $path . $file);
369369
$this->error('文件数据损坏');
370370
}
371371

0 commit comments

Comments
 (0)