无名 发表于 2022-5-8 15:15:34

【WD团队】ThinkAdmin系统修改说明

1、vendor 插件不够,需要补全
a、composer require topthink/think-image
b、composer require phpoffice/phpexcel
c、composer require phpmailer/phpmailer
d、composer require pfinal/aliyun-sms

2、修改上传文件的绝对路径问题
修改文件:vendor\zoujingli\think-library\src\driver\Local.php 80行左右,去掉{$root}

3、微信小程序获取openid有问题
修改文件:vendor\zoujingli\wechat-developer\WeChat\Oauth.php 52行左右,
改成:$url=”https://api.weixin.qq.com/sns/jscode2session?appid={$appid}&secret={$appsecret}&js_code={$code}&grant_type=authorization_code”;

4、修改上传文件的路径问题
修改文件:vendor\zoujingli\think-library\src\driver\Local.php 92行左右,public

5、vendor\topthink\think-helper\src\helper.php 报错
问题:是因为think-helper这个必须是thinkphp6,PHP>7.1,
解决:升级PHP

6、编辑static/plugs/ckeditor/config.js,加入 config.baseFloatZIndex=”19991023″;
http://cdn.u1.huluxia.com/g4/M03/35/A2/rBAAdmHHEWCAX2UEAACM8CjkLhE109.jpg
页: [1]
查看完整版本: 【WD团队】ThinkAdmin系统修改说明