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