Closed AH-dark closed 1 year ago
需要更改 includes/lib/PdoHelper.php
的 pdo dsn 部分:
$config = [
'dsn' => sprintf('mysql:host=%s;port=%d;dbname=%s;charset=utf8', DATABASE_HOST, DATABASE_PORT, DATABASE_NAME),
'user' => DATABASE_USER,
'password' => DATABASE_PASSWORD,
'timeout' => 5,
];
使用此 migrator insert 的中文字符不能被 epay 系统读取,会出现乱码,疑似编码错误。