feat : wx login
This commit is contained in:
20
app/Controller/Api/UserController.php
Normal file
20
app/Controller/Api/UserController.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Controller\Api;
|
||||
|
||||
use Hyperf\HttpServer\Annotation\Controller;
|
||||
use Hyperf\HttpServer\Annotation\RequestMapping;
|
||||
use Hyperf\Validation\Annotation\Scene;
|
||||
|
||||
#[Controller(prefix: 'api/user')]
|
||||
class UserController
|
||||
{
|
||||
#[RequestMapping(path: 'bind/phone',methods: 'post')]
|
||||
#[Scene(scene: 'bind_phone')]
|
||||
public function bind_phone()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user