|
@@ -8,6 +8,9 @@ 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/report-forms-data-init?key=receiptsDetailedRename
|
|
|
#初始化统计数据
|
|
|
curl -s http://${domain}:${port}/v2/tools/init?key=statistics
|
|
|
#初始化报表
|
|
@@ -38,8 +41,7 @@ curl -s http://${domain}:${port}/v2/tools/report-forms-data-init?key=init_admin_
|
|
|
curl -s http://${domain}:${port}/v2/tools/report-forms-data-init?key=product_template_update
|
|
|
#订单事务更新
|
|
|
curl -s http://${domain}:${port}/v2/tools/report-forms-data-init?key=order_affair_update
|
|
|
-#收款明细表名称改成票据收款统计表
|
|
|
-curl -s http://${domain}:${port}/v2/tools/report-forms-data-init?key=receiptsDetailedRename
|
|
|
+
|
|
|
|
|
|
#安装wkhtmltopdf
|
|
|
if [ ! -x "$(command -v wkhtmltopdf)" ]; then
|