Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
郭成尧
7 years ago
Commit
14ea57bfb6288f6bfc4765a31e8c7a5499741660
1 parent
87476c61
client_id
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/cart/controllers/pay.js
apps/cart/models/pay.js
apps/cart/controllers/pay.js
View file @
14ea57b
...
...
@@ -267,7 +267,8 @@ const payAli = (req, res, next) => {
uid
:
req
.
user
.
uid
,
udid
:
req
.
cookies
.
udid
||
require
(
'yoho-md5'
)(
req
.
ip
)
||
'yoho'
,
orderCode
:
req
.
query
.
out_trade_no
,
contentCode
:
'78d0fb6c97d691863286edcb4d8abfa9'
contentCode
:
'78d0fb6c97d691863286edcb4d8abfa9'
,
client_id
:
req
.
cookies
.
_yasvd
||
''
};
// 如果没有uid,跳转到首页
...
...
apps/cart/models/pay.js
View file @
14ea57b
...
...
@@ -44,7 +44,7 @@ class payModel extends global.yoho.BaseModel {
return
this
.
get
({
data
:
{
method
:
'app.recommend.purchased'
,
productSkn
:
param
.
skn
,
u
d
id
:
param
.
uid
,
uid
:
param
.
uid
,
rec_pos
:
'100005'
,
limit
:
2
,
client_id
:
param
.
client_id
...
...
Please
register
or
login
to post a comment