Commit 65e7dc7e authored by Hsinli's avatar Hsinli

addd

parent de26cac6
Pipeline #8694 passed with stage
in 3 seconds
......@@ -21,7 +21,7 @@ class CollectionService extends Service {
user_id: ctx.userId,
}
}
let collectionHistory = await ctx.realestateModel.Collection.one(filter);
let collectionHistory = await ctx.realestateModel.Collection.all(filter);
if (collectionHistory.length > 0) {
ctx.failed('已经关注过啦');
}
......
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