Error Warning
[file]: /home/wwwroot/gmx.oniu.vip/v8.0/vendor/oniu/framework/src/App.php
[message]: Call to undefined method com\demo\Index::index()
Stack trace:
Code Segment
320 | $mtd = $this->system->method;
321 | $mtdx = strtolower($mtd);
322 | $mtd = replaces($mtd, ['-' => '_', '.' => '_']);
323 | $arr = ['list', 'case', 'return', 'default', 'file', 'success', 'succ', 'fail', 'interface', 'print', 'submit'];
324 | if (in_array($mtdx, $arr)) {$mtd .= 's';}
325 | $methodName = lcfirst($mtd);
328 | $methodResult = $contrl->$methodName();
330 | if ($methodResult === true) {
331 | Response::success('返回成功');
334 | if ($methodResult === false || $methodResult === null) {
335 | Response::success('返回失败');
338 | if (is_object($methodResult)) {