Commit 7d45aa22 authored by Hsinli's avatar Hsinli

addd

parent a36d3d52
Pipeline #8735 passed with stage
in 4 seconds
...@@ -46,7 +46,7 @@ class searchHistoryService extends Service { ...@@ -46,7 +46,7 @@ class searchHistoryService extends Service {
let filter = { let filter = {
page: 1, page: 1,
limit: 50, limit: 50,
attributes: [[sequelize.literal('distinct `key_word`'), 'key_word']], attributes: ['distinct `key_word`'],
where: { where: {
state: 1, state: 1,
user_id: ctx.userId, user_id: ctx.userId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment