Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
亲子游项目
backend
Commits
ebb88eac
Commit
ebb88eac
authored
Nov 29, 2018
by
LiuJunYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新配置微信支付参数
parent
fa0381f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
application/config.php
+1
-1
application/database.php
+5
-13
No files found.
application/config.php
View file @
ebb88eac
...
...
@@ -327,7 +327,7 @@ $config = [
// +----------------------------------------------------------------------
'wx_pay'
=>
[
'notify_url'
=>
'https://
app.maveler
.com/api/Order/callback'
,
'notify_url'
=>
'https://
mavaler.jqhulian
.com/api/Order/callback'
,
'vip_title'
=>
'美行者会员VIP'
,
'vip_price'
=>
49.9
,
'app_id'
=>
'wx1b834552a7d49bb3'
,
...
...
application/database.php
View file @
ebb88eac
...
...
@@ -13,15 +13,15 @@ $config = [
// 数据库类型
'type'
=>
'mysql'
,
// 服务器地址
'hostname'
=>
'
mkt.jqlink.tech
'
,
'hostname'
=>
'
cd-cdb-1ub1rbe4.sql.tencentcdb.com:63819
'
,
// 数据库名
'database'
=>
'mav
e
ler'
,
'database'
=>
'mav
a
ler'
,
// 用户名
'username'
=>
'
wanggang
'
,
'username'
=>
'
jqclient
'
,
// 密码
'password'
=>
'
wg@HtMySql
2018'
,
'password'
=>
'
Jqkh#db
2018'
,
// 端口
'hostport'
=>
'
541
7'
,
'hostport'
=>
'
360
7'
,
// 连接dsn
'dsn'
=>
''
,
// 数据库连接参数
...
...
@@ -52,13 +52,5 @@ $config = [
'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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment