金沙体育app官方入口|手机入口网站平台

[0] ThrowableError in Lists.php line 71

致命错误: Class 'app\en\controller\ProductModel' not found

  1. $ids = array();
  2. $result_category = CategoryModel::where(['pid' => $self['id']])->select();
  3. foreach($result_category AS $key=>$value){
  4. $ids[] = $value['id'];
  5. }
  6. if(empty($ids)){
  7. $ids = array($self['id']);
  8. }
  9. $result_product = ProductModel::where(['cid' => $ids])->select();
  10. $result_product_count = count($result_product);
  11. $iframe_height = 365 + 45*$result_product_count;
  12. $this->assign('result_product_count', $result_product_count);
  13. $this->assign('iframe_height', $iframe_height);
  14. return $this->fetch($template_list);
  15. }
  16. public function api(){

Call Stack

  1. in Lists.php line 71
  2. at Lists->index()
  3. at ReflectionMethod->invokeArgs(object(Lists), []) in Container.php line 395
  4. at Container->invokeReflectMethod(object(Lists), object(ReflectionMethod), ['name' => 'history', 'convert' => false]) in Module.php line 131
  5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  7. at Middleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 28

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID v67m1hmvf5ms06au7tr6mrmice
Session
think { "lang": 2 }
Server/Request Data
USER nobody
HOME /
HTTP_COOKIE PHPSESSID=v67m1hmvf5ms06au7tr6mrmice
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.kjkcmy.com
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
REDIRECT_STATUS 200
SERVER_NAME www.kjkcmy.com
SERVER_PORT 443
SERVER_ADDR 10.29.58.153
REMOTE_PORT 60470
REMOTE_ADDR 104.247.219.242
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /data/user/htdocs
DOCUMENT_URI /index.php
REQUEST_URI /en/history/index.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/en/history/index.html
PATH_INFO
SCRIPT_FILENAME /data/user/htdocs/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713547937.1091
REQUEST_TIME 1713547937
Environment Variablesempty
ThinkPHP Constants
APP_PATH /data/user/htdocs/application/
ROOT_PATH /data/user/htdocs/
IF_PUBLIC false
ROOT_URL /
TEMPLATE_PATH /data/user/htdocs/templates/
QINIU_FUNCTIONS_VERSION 7.3.0
Baidu
sogou