feat : check
This commit is contained in:
@@ -6,6 +6,7 @@ namespace App\Controller\Api;
|
||||
|
||||
use App\Controller\AbstractController;
|
||||
use App\Middleware\Api\JwtAuthMiddleware;
|
||||
use App\Service\Api\Salesman\ForceTakePhotoService;
|
||||
use Hyperf\HttpServer\Annotation\Controller;
|
||||
use Hyperf\HttpServer\Annotation\Middlewares;
|
||||
use Hyperf\HttpServer\Annotation\RequestMapping;
|
||||
@@ -21,6 +22,6 @@ class SalesmanController extends AbstractController
|
||||
#[Scene(scene: 'take_photo')]
|
||||
public function forceTakePhoto()
|
||||
{
|
||||
return $response->raw('Hello Hyperf!');
|
||||
return (new ForceTakePhotoService)->handle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user