Skip to content

Commit

Permalink
改进
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Aug 13, 2024
1 parent d735e64 commit 4673be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public function create(string $config = null)
if ($this->api) {
return [
'code' => implode('', $text),
'img' => 'data:image/png;base64,' . chunk_split(base64_encode($content)),
'img' => 'data:image/png;base64,' . base64_encode($content),
];
}
// 输出验证码图片
Expand Down

0 comments on commit 4673be9

Please sign in to comment.