Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pay
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
pay
Commits
b26f55f9
Commit
b26f55f9
authored
Jul 17, 2021
by
wanjilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 修改pingxx账户信息
parent
ff1d4bd5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
PingxxService.php
application/services/pingxx/PingxxService.php
+1
-1
application.ini
conf/application.ini
+8
-1
No files found.
application/services/pingxx/PingxxService.php
View file @
b26f55f9
...
...
@@ -16,7 +16,7 @@ class PingxxService
private
function
__construct
()
{
//Pingpp::setApiKey('sk_test_KCaD0O5KyjzPinLynHzH4Cu1'); // 设置 API Key
$appId
=
\Yaf\Application
::
app
()
->
getConfig
()
->
get
(
'pingxx.appid'
);
Pingpp
::
setApiKey
(
'sk_live_9q9iLCS4mvv1a9eTq190O8K4'
);
// 正式 API Key
Pingpp
::
setPrivateKeyPath
(
ROOT_PATH
.
'/conf/your_rsa_private_key.pem'
);
// 设置私钥
Pingpp
::
setAppId
(
'app_9m1ubDG4e1mPXLCG'
);
// 设置 App ID
...
...
conf/application.ini
View file @
b26f55f9
...
...
@@ -33,6 +33,13 @@ exception.sys.msg = "system error"
trace.open
=
true
[prod : common : exception]
[pre : common : exception]
pnigxx.appid
=
"app_9m1ubDG4e1mPXLCG"
[pref : common : exception]
pingxx.appid
=
"app_9m1ubDG4e1mPXLCG"
[test : common : exception]
pingxx.appid
=
"app_W10Oe5XrvbzHfP4W"
[dev : common : exception]
pingxx.appid
=
"app_W10Oe5XrvbzHfP4W"
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