feat : check

This commit is contained in:
2025-04-01 15:11:04 +08:00
parent 33cbf5baa2
commit d1f3c33a02
4 changed files with 65 additions and 3 deletions

View File

@@ -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();
}
}