<?php

namespace app\controller\api;

use app\extra\basic\Base;
use app\middleware\WxMiddleware;
use LinFly\Annotation\Route\Controller;
use LinFly\Annotation\Route\Middleware;
use LinFly\Annotation\Route\Route;
use support\Request;
use support\Response;


#[Controller(prefix: "/wx_api/task"),Middleware(WxMiddleware::class)]
class Task extends Base
{


    /**
     * 任务列表
     * @param Request $request
     * @return Response
     */
    #[Route(path: "portal",methods: "get")]
    public function getTaskList(Request $request): Response
    {
        try {

        } catch (\Throwable $throwable) {
            return error($throwable->getMessage());
        }
    }

}