chenbo %!s(int64=4) %!d(string=hai) anos
pai
achega
3ce54907d2
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      commands/git/update.php

+ 17 - 0
commands/git/update.php

@@ -0,0 +1,17 @@
+<?php
+/**
+ * Created by PhpStorm.
+ * User: zhima
+ * Date: 2019/1/25
+ * Time: 上午9:54
+ */
+
+
+
+
+$command = "cd /home/wwwroot/default/fission-weChat;git pull";
+
+
+exec($command,$data);
+
+print_r($data);