<?php

namespace app\controller;

use support\Request;

use App\Utils\ApiResponseApp;

use App\model\Carousel;
use App\model\Project;
use App\model\ProjectDetailed;
use App\model\ProjectRegister;
use App\model\Carouselad;
use App\model\Mechanism;
use Tinywan\Jwt\JwtToken;

use hg\apidoc\annotation as Apidoc;
use support\Db;

/**
 * @Apidoc\Title("用户vip控制器")
 */

class TaskController
{
    protected $noNeedLogin = ['phone_list', 'get_project', 'get_projectdetailed', 'get_mechanism_list'];


    /**
     * @Apidoc\Title("1.0 获取首页轮播图")
     * @Apidoc\Url("api/task/phone_list")
     * @Apidoc\Method("POST")
     */
    public function phone_list(Request $request)
    {
        // return json(['code' => 0, 'msg' => 'ok']);
        return ApiResponseApp::success(1, $request->header('token'));
    }
    
}
