|
@@ -1,25 +0,0 @@
|
|
|
-<?php
|
|
|
-/**
|
|
|
- * Created by PhpStorm.
|
|
|
- * User: chengxun
|
|
|
- * Date: 2017/11/10
|
|
|
- * Time: 15:21
|
|
|
- */
|
|
|
-
|
|
|
-namespace common;
|
|
|
-
|
|
|
-
|
|
|
-use submit\Submit;
|
|
|
-use think\Request;
|
|
|
-
|
|
|
-class Gather
|
|
|
-{
|
|
|
- public static function add(){
|
|
|
- $data = [
|
|
|
- 'domain' => Request::instance()->domain(),
|
|
|
- 'host' => Request::instance()->host(),
|
|
|
- 'ip' => Request::instance()->ip(),
|
|
|
- ];
|
|
|
- Submit::curl('http://gather.tossboy.cn/',$data,1);
|
|
|
- }
|
|
|
-}
|