123456789101112131415161718192021222324 |
- <?php
- /**
- * Created by PhpStorm.
- * User: chengxun
- * Date: 2017/11/10
- * Time: 15:26
- */
- namespace app\index\controller;
- use think\Controller;
- class Update extends Controller
- {
- public function index(){
- echo date('Y-m-d H:i:s',time());
- $post_data = Request::instance()->param();
- $msg = system("cd /home/www/toss_api_wiki;git reset --hard;git pull");
- echo '成功';
- }
- }
|