Commit ebb88eac by LiuJunYi

重新配置微信支付参数

parent fa0381f8
...@@ -327,7 +327,7 @@ $config = [ ...@@ -327,7 +327,7 @@ $config = [
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
'wx_pay' => [ 'wx_pay' => [
'notify_url' => 'https://app.maveler.com/api/Order/callback', 'notify_url' => 'https://mavaler.jqhulian.com/api/Order/callback',
'vip_title' => '美行者会员VIP', 'vip_title' => '美行者会员VIP',
'vip_price' => 49.9, 'vip_price' => 49.9,
'app_id' => 'wx1b834552a7d49bb3', 'app_id' => 'wx1b834552a7d49bb3',
......
...@@ -13,15 +13,15 @@ $config = [ ...@@ -13,15 +13,15 @@ $config = [
// 数据库类型 // 数据库类型
'type' => 'mysql', 'type' => 'mysql',
// 服务器地址 // 服务器地址
'hostname' => 'mkt.jqlink.tech', 'hostname' => 'cd-cdb-1ub1rbe4.sql.tencentcdb.com:63819',
// 数据库名 // 数据库名
'database' => 'maveler', 'database' => 'mavaler',
// 用户名 // 用户名
'username' => 'wanggang', 'username' => 'jqclient',
// 密码 // 密码
'password' => 'wg@HtMySql2018', 'password' => 'Jqkh#db2018',
// 端口 // 端口
'hostport' => '5417', 'hostport' => '3607',
// 连接dsn // 连接dsn
'dsn' => '', 'dsn' => '',
// 数据库连接参数 // 数据库连接参数
...@@ -52,13 +52,5 @@ $config = [ ...@@ -52,13 +52,5 @@ $config = [
'sql_explain' => false, 'sql_explain' => false,
]; ];
// 生产数据库
if (!APP_DEBUG) {
$config["hostname"] = "127.0.0.1";
$config["database"] = "maveler";
$config["username"] = "root";
$config["password"] = "6pl6dbVNJljiRav*";
$config["hostport"] = "5417";
}
return $config; return $config;
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