#Halo AntSword!
Staying fit and healthy is essential for our overall well-being, but it can be challenging to maintain a consistent exercise routine, especially when
In today's fast-paced world, finding time to visit the gym can be a challenge. However, maintaining a regular exercise routine is crucial for our phys
Eating a clean, wholesome diet is essential for maintaining optimal health and well-being. However, many people believe that eating healthy is expensi
Maintaining healthy, glowing skin requires more than just a daily routine. Adding weekly skin care rituals to your regimen can help address specific c
Losing weight can be a daunting task, with countless diets and weight loss strategies available. Choosing the right diet that fits your lifestyle, pr
Hey there, health enthusiasts! Are you ready to give your brain and heart some extra love? Well, you're in luck because we've got a list of 5 fantast
Starting a fitness journey is an exciting and transformative process, but it's also fraught with challenges and potential pitfalls. Whether you're a b
In today's fast-paced, high-stress world, mindfulness has emerged as a powerful tool for promoting mental and physical well-being. Mindfulness is the
As we age, maintaining balance and stability becomes increasingly important to prevent falls and injuries. According to the Centers for Disease Contr
// 设置当前请求的控制器、操作
$request->controller(Loader::parseName($controller, 1))->action($actionName);
// 监听module_init
Hook::listen('module_init', $request);
$instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
if (is_null($instance)) {
throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
}
// 获取当前操作名
$action = $actionName . $config['action_suffix'];
$vars = [];
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
} elseif (is_callable([$instance, '_empty'])) {