uuid
This commit is contained in:
parent
596b61aab6
commit
d2fe83bed5
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
namespace App\Controller;
|
namespace App\Controller;
|
||||||
|
|
||||||
use App\Kernel\Annotation\PreAuthorization;
|
|
||||||
use Hyperf\HttpServer\Annotation\Controller;
|
use Hyperf\HttpServer\Annotation\Controller;
|
||||||
use Hyperf\HttpServer\Annotation\GetMapping;
|
use Hyperf\HttpServer\Annotation\GetMapping;
|
||||||
use App\Model\Uuid as uModel;
|
use App\Model\Uuid as uModel;
|
||||||
|
|
@ -14,14 +13,12 @@ use App\Model\Uuid as uModel;
|
||||||
class GaoDingController extends AbstractController
|
class GaoDingController extends AbstractController
|
||||||
{
|
{
|
||||||
#[GetMapping("uuid/get")]
|
#[GetMapping("uuid/get")]
|
||||||
#[PreAuthorization(needAuth: false)]
|
|
||||||
public function get()
|
public function get()
|
||||||
{
|
{
|
||||||
return $this->success(uModel::add());
|
return $this->success(uModel::add());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[GetMapping("uuid/query")]
|
#[GetMapping("uuid/query")]
|
||||||
#[PreAuthorization(needAuth: false)]
|
|
||||||
public function query()
|
public function query()
|
||||||
{
|
{
|
||||||
return $this->success([]);
|
return $this->success([]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue