This commit is contained in:
2023-04-06 17:06:38 +08:00
parent f595b580dd
commit 700ecd5d8a
+14 -11
View File
@@ -38,13 +38,18 @@ init();
</body>
</html>
/** page func start */
<?php function show_index()
<?php
// page func start
function show_index()
{
ob_start(); ?>
<div class="">
<p>
<a href=""></a>
</p>
</div>
@@ -87,13 +92,12 @@ init();
ob_clean();
echo $html;
}
// page func end
?>
/** page func end */
/** api func start */
<?php
// api func start
function check_api()
{
$uri = $_SERVER["REQUEST_URI"];
@@ -125,13 +129,12 @@ function api_test()
]);
}
// api func end
?>
/** api func end */
/** common func start */
<?php
// common func start
function init()
{
define("BASE_PATH", __DIR__ . "/../");
@@ -160,8 +163,8 @@ function show_page()
}
}
// common func end
?>
/** common func end */