Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
9 years ago
Commit
01d7324b99837e5351438b368b0e8c878651a154
1 parent
190ca0ec
支付参数 日志
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
library/Api/Yohobuy.php
yohobuy/www.yohobuy.com/application/models/Shopping/Payment.php
library/Api/Yohobuy.php
View file @
01d7324
...
...
@@ -27,7 +27,7 @@ class Yohobuy
const
SERVICE_URL
=
'http://service.yoho.yohoops.org/'
;
const
YOHOBUY_URL
=
'http://www.yohobuy.com/'
;
const
API_OLD
=
'http://api2.open.yohobuy.com/'
;
//
支付回调地址
////
支付回调地址
const
SERVICE_NOTIFY
=
'http://service.yoho.cn/'
;
// 测试环境 */
...
...
@@ -35,7 +35,7 @@ class Yohobuy
// const SERVICE_URL = 'http://testservice.yoho.cn:28077/';
// const YOHOBUY_URL = 'http://www.yohobuy.com/';
// const API_OLD = 'http://test2.open.yohobuy.com/';
//
支付回调地址
////
支付回调地址
// const SERVICE_NOTIFY = 'http://testservice.yoho.cn:28077/';
/* 预览环境 */
...
...
yohobuy/www.yohobuy.com/application/models/Shopping/Payment.php
View file @
01d7324
...
...
@@ -523,6 +523,10 @@ class PaymentModel
$reqParams
=
new
Reqparams
(
$orderCode
,
$totalFee
,
'有货订单号:'
.
$orderCode
,
''
,
$orderDetail
[
'data'
][
'create_time'
],
$paymentParameter
,
$isTest
,
$uid
,
$userName
);
$reqPars
=
$payService
->
getPayRequestPars
(
$reqParams
);
UdpLog
::
info
(
"【支付-参数】,function:getPayData,orderCode:
{
$orderCode
}
,接口返回"
,
array
(
'$reqPars'
=>
$reqPars
)
);
if
(
empty
(
$reqPars
))
{
$result
[
'error'
]
=
true
;
$result
[
'message'
]
=
'支付系统繁忙,请稍后再试'
;
...
...
Please
register
or
login
to post a comment