Commit c7bd84d1 by lixinming

no message

parent 2e9f11d9
...@@ -63,7 +63,7 @@ export async function list(secureArgs:any) { ...@@ -63,7 +63,7 @@ export async function list(secureArgs:any) {
let selectParam:any = {}; let selectParam:any = {};
if (articleType) selectParam.articleType = articleType; if (articleType) selectParam.articleType = articleType;
if (title) selectParam.title = title; if (title) selectParam.title = {"$regex":title};
if (articleTime) { if (articleTime) {
selectParam["$and"] = [ selectParam["$and"] = [
{articleTime:{"$gt":articleTime}}, {articleTime:{"$gt":articleTime}},
......
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