Commit 4cdbe004 authored by Hsinli's avatar Hsinli

Merge branch 'master' of t-git.51gjj.com:fangbin/51business

parents e9e5a9f5 e3a46d52
Pipeline #8763 passed with stage
in 12 seconds
......@@ -46,9 +46,11 @@ module.exports = app => {
RecommendChannelProduct.all = async data => {
const attributes = data.attributes ? data.attributes : {};
const where = data.where ? data.where : {};
const order = data.order ? data.order : [];
return await RecommendChannelProduct.findAll({
attributes,
where,
order,
});
};
......
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