Solution: Just enclose the variables in the where statement in single quotes. It can be used for personal testing
Example: Change $System->where("keywords=$keywords")->find(); to $ System->where("keywords='$keywords'")->find(); can
Reason: unknown
The above has introduced the non-parsed variables in the thinkphp where statement, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.