From 84dc635c1913133a17a86d070bc93447b655fd88 Mon Sep 17 00:00:00 2001 From: daitingting Date: Wed, 13 Dec 2023 08:16:15 +0000 Subject: [PATCH] * Adjust field case. --- module/search/test/model/saveindex.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/search/test/model/saveindex.php b/module/search/test/model/saveindex.php index a27a1e0f7c..689c7294e1 100755 --- a/module/search/test/model/saveindex.php +++ b/module/search/test/model/saveindex.php @@ -11,15 +11,15 @@ timeout=0 cid=1 - 创建ID为10的bug的索引 - - 属性objecttype @bug - - 属性objectid @10 + - 属性objectType @bug + - 属性objectID @10 - 创建ID为10的任务的索引 - - 属性objecttype @task - - 属性objectid @10 + - 属性objectType @task + - 属性objectID @10 */ $search = new searchTest(); -r($search->saveIndexTest('bug', 10)) && p('objecttype,objectid') && e('bug,10'); //创建ID为10的bug的索引 -r($search->saveIndexTest('task', 10)) && p('objecttype,objectid') && e('task,10'); //创建ID为10的任务的索引 \ No newline at end of file +r($search->saveIndexTest('bug', 10)) && p('objectType,objectID') && e('bug,10'); //创建ID为10的bug的索引 +r($search->saveIndexTest('task', 10)) && p('objectType,objectID') && e('task,10'); //创建ID为10的任务的索引 \ No newline at end of file