invite_code=$invite_code; return ApiResponse::success(200, $invite_code); } /** * @Apidoc\Title("获取推广列表所有") * @Apidoc\Url("admin/api/v1/Promotion/list") * @Apidoc\Method("POST") */ public function list(Request $request){ $Recommend =Recommend::all(); return ApiResponse::success(200, $Recommend); } }