v1.2.0.sh 317 B

12345678
  1. #!/usr/bin/env bash
  2. hostname=`hostname`
  3. domain=`php /app/bin/tools.php getDomain`
  4. port=`php /app/bin/tools.php getPort`
  5. curl -s http://${domain}:${port}/v2/tools/init
  6. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=statement
  7. curl -s http://${domain}:${port}/v2/tools/report-calculation?key=processIn