魔方财务和魔方云系统开心扩展
首先需要安装php扩展。根据网站要使用的php版本,下载扩展文件(php7.2、php7.3、php7.4),上传到php安装目录 /lib/php/extensions/no-debug-non-zts-xxxx(xxxx为一串数字)文件夹里面。
修改php配置文件(php.ini),加入以下内容,然后重启php进程。
extension=idcsmart.so
后台系统设置->系统信息,随便填写一个授权码即可授权成功。
在此页面下载应用并安装。
魔方财务系统支持版本:* /home/zjmf/dashboard/www/extend/other/extension wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main chmod +x /home/zjmf/dashboard/www/extend/other/extension chmod +x /home/zjmf/dashboard/www/extend/other/check_main wget https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.9.22/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini sed -i 's/^disable_functions =./disable_functions = phpinfo/' /etc/php.ini wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php systemctl restart php-fpm
国内服务器可以用以下命令:
echo -n "echo "success"" > /home/zjmf/dashboard/www/extend/other/extension wget https://ghfast.top/https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main chmod +x /home/zjmf/dashboard/www/extend/other/extension chmod +x /home/zjmf/dashboard/www/extend/other/check_main wget https://ghfast.top/https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.9.22/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini sed -i 's/^disable_functions =./disable_functions = phpinfo/' /etc/php.ini wget https://ghfast.top/https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php systemctl restart php-fpm
后续每次更新都要重新执行上述命令。
### 自建授权接口站点(可选)
这部分是可选的,如果内置授权接口出现连接不稳定等情况,可以选择自建。
1. 新建一个网站,上传[授权接口源码](https://raw.githubusercontent.com/aazooo/zjmf/main/zjmf_auth_api.zip),并配置好伪静态。
2. 在php配置文件(php.ini)加入idcsmart.url这个配置项,填写授权接口地址,例如:
idcsmart.url=http://www.example.com/
注意一定要以/结尾。然后重启php进程生效。
### 魔方云HyperV使用方法
1. 需自建授权接口站点,绑定license7.idcsmart.com域名,并开启SSL(随便一个域名证书即可)
2. 在Windows系统内配置hosts,将license7.idcsmart.com域名指向刚才的服务器IP
3. 使用官方安装程序安装,填写授权码的时候,随便填写一个的32位大写的MD5字符串。
No open issues yet, or sync has not completed.