#!/usr/bin/env bash git config core.ignorecase false chmod 777 /app/data/tmp -R service crond restart hostname=`hostname` domain=`php /app/bin/tools.php getDomain` port=`php /app/bin/tools.php getPort` #初始化 curl -s http://${domain}:${port}/v2/tools/init #升级更新 v32-to-v4 curl -s http://${domain}:${port}//v2/tools/v32-to-v4 #如需系统初始仓库盘点 添加仓库明细数据 curl -s http://${domain}:${port}/v2/tools/init?key=initInventoryDetailQuantity #调整费用名称,财务明细等条目 curl -s http://${domain}:${port}/v2/tools/entry-init