直接XSIndex::flushIndex 就提示 Fatal error: Undefined class constant 'flushIndex' XSIndex::flushIndex()就提示Method "execCommand" does not exist and was not trapped in __call() 求解决哈!
附一下全部代码吧