Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
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
0d7bc8342853a2c95b69d57bd2877c6e154590f0
1 parent
1e919b94
/order/queryLastTenOrder接口session_key验证添加
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
apps/service/models/client-api.js
apps/service/models/client-service.js
apps/service/models/client-api.js
View file @
0d7bc83
...
...
@@ -32,8 +32,9 @@ let urls = {
* @param { string } encryptedUid 用户ID
* @return { Object } 最近10条订单
*/
const
getLastTenOrders
=
(
encryptedUid
)
=>
{
const
getLastTenOrders
=
(
uid
,
encryptedUid
)
=>
{
return
api
.
post
(
urls
.
lastTen
,
{
uid
,
encryptedUid
});
};
...
...
apps/service/models/client-service.js
View file @
0d7bc83
...
...
@@ -26,7 +26,7 @@ const getClientData = (uid, type, encryptedUid) => {
let
apiMethod
=
[
clientAPI
.
getCsSetting
(
type
),
clientAPI
.
getMsgHistory
(
uid
,
encryptedUid
),
clientAPI
.
getLastTenOrders
(
encryptedUid
),
clientAPI
.
getLastTenOrders
(
uid
,
encryptedUid
),
clientAPI
.
getQas
(
uid
,
encryptedUid
)
];
...
...
Please
register
or
login
to post a comment