alipay demo encrypt and decrypt function renamed alipay demo 和 laravel 的加密解密全局函数冲突。 vim查找: vimgrep /\/ **/*.* vimgrep /\/ **/*.* vim替换: :%s/\/alipayEncrypt/g :%s/\/alipayDecrypt/g 最后找到需要的替换文件如下: aop/AopEncrypt.php aop/AopClient.php lotusphp_runtime/Cookie/Cookie.php