Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
8 years ago
Commit
8966b404e21e3925f3cecb5af7cc0ce9c79f96f5
1 parent
69114879
yas 2.1.0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
static/js/common.js
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
static/js/common.js
View file @
8966b40
...
...
@@ -231,7 +231,7 @@ function reMarginFooter(fixedElement) {
a
.
src
=
j
;
m
.
parentNode
.
insertBefore
(
a
,
m
);
})(
window
,
document
,
'script'
,
(
'https:'
===
document
.
location
.
protocol
?
'https'
:
'http'
)
+
'://'
+
'cdn.yoho.cn/yas-jssdk/
1.0.18
/yas.js'
,
'_yas'
);
'cdn.yoho.cn/yas-jssdk/
2.1.0
/yas.js'
,
'_yas'
);
(
function
()
{
var
uid
=
getUid
(),
...
...
@@ -245,7 +245,7 @@ function reMarginFooter(fixedElement) {
window
.
_ozuid
=
uid
;
// 暴露ozuid
if
(
window
.
_yas
)
{
window
.
_yas
(
1
*
new
Date
(),
'
1.0.18
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
window
.
_yas
(
1
*
new
Date
(),
'
2.1.0
'
,
'yohobuy_m'
,
uid
,
''
,
''
);
// 发送埋点数据
sendBpData
=
function
(
bpIdArr
)
{
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
8966b40
...
...
@@ -682,7 +682,7 @@ class IndexController extends AbstractAction
if
(
!
empty
(
$_COOKIE
[
'mkt_code'
]))
{
$unionKey
=
'{"client_id":'
.
(
strlen
(
$_COOKIE
[
'mkt_code'
])
>=
15
''
:
'800'
)
.
$_COOKIE
[
'mkt_code'
]
.
'}'
;
}
else
{
$encryData
=
trim
(
Encryption
::
decrypt
(
$_COOKIE
[
'_QYH_UNION'
]
));
$encryData
=
trim
(
Encryption
::
decrypt
(
urldecode
(
$_COOKIE
[
'_QYH_UNION'
])
));
$extraIndex
=
strrpos
(
$encryData
,
'}'
)
+
1
;
$encryObject
=
substr
(
$encryData
,
0
,
$extraIndex
);
$testQyhUnion
=
json_decode
(
$encryObject
,
true
);
...
...
@@ -719,7 +719,6 @@ class IndexController extends AbstractAction
$message
=
'uid:'
.
$uid
.
',addressId:'
.
$addressId
.
',cartType:'
.
$cartType
.
',deliveryTime:'
.
$deliveryTime
.
',deliveryWay:'
.
$deliveryWay
.
',yohoCoin:'
.
$yohoCoin
.
',paymentId:'
.
$paymentId
.
',paymentType:'
.
$paymentType
.
',remark:'
.
$remark
.
',couponCode:'
.
$couponCode
.
"
\n
"
;
error_log
(
$message
,
3
,
'/Data/logs/php/h5_error/order.'
.
date
(
'Ym'
)
.
'.log'
);
UdpLog
::
info
(
'【下单】下单异常数据'
,
'message:'
.
$message
,
'返回:'
.
json_encode
(
$result
));
}
else
{
// 返回数据
...
...
Please
register
or
login
to post a comment