|
...
|
...
|
@@ -51,12 +51,12 @@ class ImageController |
|
|
|
* @time :2023/5/11 17:19
|
|
|
|
*/
|
|
|
|
public function index($hash = '', $w = 0 ,$h = 0 ){
|
|
|
|
var_dump(11111);
|
|
|
|
die();
|
|
|
|
if (isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) || isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
|
|
|
|
header("HTTP/1.1 304 Not Modified");
|
|
|
|
exit;
|
|
|
|
}
|
|
|
|
var_dump(11111);
|
|
|
|
die();
|
|
|
|
$imageModel = new ImageModel();
|
|
|
|
$dotIndex = strpos($hash, '.');
|
|
|
|
if ($dotIndex !== false) {
|
...
|
...
|
|