Authored by 李奇

/order/queryLastTenOrder接口session_key验证添加

... ... @@ -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
});
};
... ...
... ... @@ -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)
];
... ...