Browse Source

[Chg] Use sort order in goods list

Ark 4 years ago
parent
commit
849ac1488b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/api/controller/goods.js

+ 1 - 0
src/api/controller/goods.js

@@ -160,6 +160,7 @@ module.exports = class extends Base {
         id: 'desc'
       };
     }
+    orderMap['sort_order'] = 'desc';
 
     // 筛选的分类
     let filterCategory = [{