Compare commits

...

2 Commits

Author SHA1 Message Date
67834f3e29 增加说明 2020-11-27 11:13:06 +08:00
53dd1a984f 删除无用文件 2020-11-27 11:04:46 +08:00
5 changed files with 1 additions and 73 deletions

View File

@@ -41,7 +41,7 @@ class UserController extends Controller
{ {
$inputdata = $request->all(); $inputdata = $request->all();
$res = $this->checkSign($request); $res = $this->checkSign($request);
//获取解密后数据
$inputdata['jiemi'] = $res; $inputdata['jiemi'] = $res;
$log = $this->createLog($request->url(), 'POST', $inputdata, 'grant'); //添加日志 $log = $this->createLog($request->url(), 'POST', $inputdata, 'grant'); //添加日志

View File

@@ -1,22 +0,0 @@
<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}

View File

@@ -1,21 +0,0 @@
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

View File

@@ -1,10 +0,0 @@
<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
}

View File

@@ -1,19 +0,0 @@
<?php
namespace Tests\Unit;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$this->assertTrue(true);
}
}