|
|
@@ -43,27 +43,4 @@ class Test
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function t2()
|
|
|
- {
|
|
|
- $filename = public_path().'取经条件.txt'; //文件路径
|
|
|
- header("Content-Type: application/octet-stream");
|
|
|
- header("Content-Disposition: attachment; filename=".basename($filename));
|
|
|
- readfile($filename);
|
|
|
- }
|
|
|
-
|
|
|
- public function t3()
|
|
|
- {
|
|
|
- $filename = public_path().'武器出处.txt'; //文件路径
|
|
|
- header("Content-Type: application/octet-stream");
|
|
|
- header("Content-Disposition: attachment; filename=".basename($filename));
|
|
|
- readfile($filename);
|
|
|
- }
|
|
|
-
|
|
|
- public function t4()
|
|
|
- {
|
|
|
- $filename = public_path().'武器装备属性.txt'; //文件路径
|
|
|
- header("Content-Type: application/octet-stream");
|
|
|
- header("Content-Disposition: attachment; filename=".basename($filename));
|
|
|
- readfile($filename);
|
|
|
- }
|
|
|
}
|