Commit 843f086d authored by 成旭东's avatar 成旭东

fix

parent 5d89a0e6
Pipeline #27976 passed with stage
in 3 minutes 36 seconds
......@@ -229,7 +229,9 @@ export default class EstateListService extends Service {
},
});
if (params.order) {
const orderArr = [1, 2, 3];
if (params.order && orderArr.includes(Number(params.order))) {
const orderRecord = await ctx[modelGroupName][modelName].findOne({
where: {
type: record.type,
......
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