windows上加解密正常,linux上加密正常,解密时发生 如下异常,异常信息如下: [ERROR] 2018-10-15 09:30:35,998 method:com.iscas.ippc.common.utils.RandomPwd.decrypt(RandomPwd.java:120)decrypt Exception is Given final block not properly padded. Such issues can arise if a bad key is used
tp5在Nginx上不适用pathinfo格式的url,在项目的Nginx配置文件里找到include enable-php.conf 改为 include enable-php-pathinfo.cof ,然后就可以了 第一步:打开nginx配置文件 /usr/local/nginx/conf/nignx.conf第二部:找到 include enable-php.conf;第三部:将其修改成 include enable-php-pathinfo.conf;第四部:保存并重启nginx 命令