The problem was caused by the name conflict between the scan submodule and the scan function.
拖放文件到此处或者 点击上传