<?php
// 数据库配置
define('DB_HOST', 'localhost');
define('DB_USER', 'awa');
define('DB_PASS', 'yzculture');
define('DB_NAME', 'ccs_auth');

// 硅基流动API配置
define('API_KEY', 'sk-oqimqihyuumdzecwypfvekslpigmtlyjjzytvccwimhutlqc');
define('API_URL', 'https://api.siliconflow.cn/v1/chat/completions');

// 创建数据库连接
$conn = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if ($conn->connect_error) {
    die("数据库连接失败: " . $conn->connect_error);
}
?>