抱歉,您访问的店铺 由于临时原因而关闭,请点击这里去商城首页继续浏览商品
商家需知 
关于螺丝街 
常见问题 
支付方式 
Whoops! There was an error.
27. LogicException
…/­app/­base/­lib/­prism/­util.php77
26. base_prism_util paramsValidate
…/­app/­base/­lib/­facades/­facade.php68
25. base_facades_facade __callStatic
…/­app/­base/­lib/­rpc/­client.php67
24. base_facades_apiUtil paramsValidate
…/­app/­base/­lib/­rpc/­client.php67
23. base_rpc_client callInternal
…/­app/­base/­lib/­rpc/­client.php41
22. base_rpc_client call
…/­app/­base/­lib/­facades/­facade.php74
21. base_facades_facade __callStatic
…/­app/­base/­lib/­static/­app.php169
20. base_facades_rpc call
…/­app/­base/­lib/­static/­app.php169
19. base_static_app rpcCall
…/­custom/­topc/­controller/­shopcenter.php136
18. topc_ctl_shopcenter index
<#unknown>0
17. call_user_func_array
…/­app/­base/­lib/­routing/­route.php143
16. base_routing_route runController
…/­app/­base/­lib/­routing/­route.php101
15. base_routing_route run
…/­app/­base/­lib/­routing/­router.php495
14. base_routing_router {closure}
<#unknown>0
13. call_user_func
…/­app/­base/­lib/­pipeline/­pipeline.php130
12. base_pipeline_pipeline {closure}
…/­app/­theme/­middleware/­preview.php21
11. theme_middleware_preview handle
…/­app/­base/­lib/­pipeline/­pipeline.php114
10. base_pipeline_pipeline {closure}
…/­app/­topc/­middleware/­redirectIfFromWap.php23
9. topc_middleware_redirectIfFromWap handle
…/­app/­base/­lib/­pipeline/­pipeline.php114
8. base_pipeline_pipeline {closure}
<#unknown>0
7. call_user_func
…/­app/­base/­lib/­pipeline/­pipeline.php91
6. base_pipeline_pipeline then
…/­app/­base/­lib/­routing/­router.php497
5. base_routing_router runRouteWithinStack
…/­app/­base/­lib/­routing/­router.php462
4. base_routing_router dispatchToRoute
…/­app/­base/­lib/­routing/­router.php441
3. base_routing_router dispatch
…/­app/­base/­lib/­facades/­facade.php65
2. base_facades_facade __callStatic
…/­app/­base/­kernel.php90
1. base_facades_route dispatch
…/­app/­base/­kernel.php90
0. kernel boot
…/­public/­index.php29

LogicException

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
LogicException thrown with message "参数 shop_id 必填." Stacktrace: #27 LogicException in /www/web/luosijie_com/public_html/app/base/lib/prism/util.php:77 #26 base_prism_util:paramsValidate in /www/web/luosijie_com/public_html/app/base/lib/facades/facade.php:68 #25 base_facades_facade:__callStatic in /www/web/luosijie_com/public_html/app/base/lib/rpc/client.php:67 #24 base_facades_apiUtil:paramsValidate in /www/web/luosijie_com/public_html/app/base/lib/rpc/client.php:67 #23 base_rpc_client:callInternal in /www/web/luosijie_com/public_html/app/base/lib/rpc/client.php:41 #22 base_rpc_client:call in /www/web/luosijie_com/public_html/app/base/lib/facades/facade.php:74 #21 base_facades_facade:__callStatic in /www/web/luosijie_com/public_html/app/base/lib/static/app.php:169 #20 base_facades_rpc:call in /www/web/luosijie_com/public_html/app/base/lib/static/app.php:169 #19 base_static_app:rpcCall in /www/web/luosijie_com/public_html/custom/topc/controller/shopcenter.php:136 #18 topc_ctl_shopcenter:index in <#unknown>:0 #17 call_user_func_array in /www/web/luosijie_com/public_html/app/base/lib/routing/route.php:143 #16 base_routing_route:runController in /www/web/luosijie_com/public_html/app/base/lib/routing/route.php:101 #15 base_routing_route:run in /www/web/luosijie_com/public_html/app/base/lib/routing/router.php:495 #14 base_routing_router:{closure} in <#unknown>:0 #13 call_user_func in /www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php:130 #12 base_pipeline_pipeline:{closure} in /www/web/luosijie_com/public_html/app/theme/middleware/preview.php:21 #11 theme_middleware_preview:handle in /www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php:114 #10 base_pipeline_pipeline:{closure} in /www/web/luosijie_com/public_html/app/topc/middleware/redirectIfFromWap.php:23 #9 topc_middleware_redirectIfFromWap:handle in /www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php:114 #8 base_pipeline_pipeline:{closure} in <#unknown>:0 #7 call_user_func in /www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php:91 #6 base_pipeline_pipeline:then in /www/web/luosijie_com/public_html/app/base/lib/routing/router.php:497 #5 base_routing_router:runRouteWithinStack in /www/web/luosijie_com/public_html/app/base/lib/routing/router.php:462 #4 base_routing_router:dispatchToRoute in /www/web/luosijie_com/public_html/app/base/lib/routing/router.php:441 #3 base_routing_router:dispatch in /www/web/luosijie_com/public_html/app/base/lib/facades/facade.php:65 #2 base_facades_facade:__callStatic in /www/web/luosijie_com/public_html/app/base/kernel.php:90 #1 base_facades_route:dispatch in /www/web/luosijie_com/public_html/app/base/kernel.php:90 #0 kernel:boot in /www/web/luosijie_com/public_html/public/index.php:29

参数 shop_id 必填.

/www/web/luosijie_com/public_html/app/base/lib/prism/util.php
            //这里验证数据
            $validator = validator::make($params, $paramsValidate);
            if( $validator->fails() )
            {
                $errors = json_decode( $validator->messages(), 1 );
                foreach( $errors as $error )
                {
                    throw new LogicException( $error[0] );
                }
            }
/www/web/luosijie_com/public_html/app/base/lib/facades/facade.php
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
				return $instance->$method($args[0], $args[1]);
 
			case 3:
/www/web/luosijie_com/public_html/app/base/lib/rpc/client.php
        }
 
        $instance = new $class();
 
        $apiParams = $instance->getParams();
        //验证数据
        //通过传入数据和api原定义的类型进行比对
        apiUtil::paramsValidate($parameters, $apiParams);
 
        //因为有些数据需要批量处理,就防这里了
/www/web/luosijie_com/public_html/app/base/lib/rpc/client.php
        }
 
        $instance = new $class();
 
        $apiParams = $instance->getParams();
        //验证数据
        //通过传入数据和api原定义的类型进行比对
        apiUtil::paramsValidate($parameters, $apiParams);
 
        //因为有些数据需要批量处理,就防这里了
/www/web/luosijie_com/public_html/app/base/lib/rpc/client.php
 
        if( $this->distribute() )
        {
            return $this->callOutside($method, $parameters, $appId);
        }
        else
        {
            return $this->callInternal($method, $parameters);
        }
    }
/www/web/luosijie_com/public_html/app/base/lib/facades/facade.php
			case 2:
				return $instance->$method($args[0], $args[1]);
 
			case 3:
				return $instance->$method($args[0], $args[1], $args[2]);
 
			case 4:
				return $instance->$method($args[0], $args[1], $args[2], $args[3]);
 
			default:
/www/web/luosijie_com/public_html/app/base/lib/static/app.php
     * @return array 返回api的信息
     *
     */
    public function rpcCall($method, $parameters = array(),$identity)
    {
        $appName = $this->app_id;
        $appKey = apiUtil::getAppKey($appName);
        return rpc::call($method, $parameters, $appKey,$identity);
    }
 
/www/web/luosijie_com/public_html/app/base/lib/static/app.php
     * @return array 返回api的信息
     *
     */
    public function rpcCall($method, $parameters = array(),$identity)
    {
        $appName = $this->app_id;
        $appKey = apiUtil::getAppKey($appName);
        return rpc::call($method, $parameters, $appKey,$identity);
    }
 
/www/web/luosijie_com/public_html/custom/topc/controller/shopcenter.php
            'page_no' => 0,
            'page_size' => 10,
            'fields' => '*',
            'shop_id' => $shopId,
            'platform' => 'pc',
            'is_cansend' => 1,
        );
        $couponListData = app::get('topc')->rpcCall('promotion.coupon.list', $params, 'buyer');
        $pagedata['homeCouponList']= $couponListData['coupons'];
 
<#unknown>
/www/web/luosijie_com/public_html/app/base/lib/routing/route.php
        $appId = substr($class,0, strpos($class, '_'));
 
        $parameters = $this->parametersWithoutNulls();
        
		if ( ! method_exists($instance = new $class(app::get($appId)), $method))
			throw new NotFoundHttpException;
 
		return call_user_func_array([$instance, $method], $parameters);
	}
 
/www/web/luosijie_com/public_html/app/base/lib/routing/route.php
 
            // todo: 后续复杂的控制器处理, 需要controller/dispatch.php进行处理
            /*
			if ($this->customDispatcherIsBound())
				return $this->runWithCustomDispatcher($request);
            */
 
			return $this->runController($request);
        }
        catch (Excepiton $e)
/www/web/luosijie_com/public_html/app/base/lib/routing/router.php
        $middleware = $this->gatherRouteMiddlewares($route);
        return (new Pipeline())
        ->send($request)
                               ->through($middleware)
                               ->then(function($request) use ($route) {
                                   return $this->prepareResponse(
                                       $request,
                                       $route->run($request)
                                   );
                               });
<#unknown>
/www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php
	 * @param  \Closure  $destination
	 * @return \Closure
	 */
	protected function getInitialSlice(Closure $destination)
	{
		return function($passable) use ($destination)
		{
			return call_user_func($destination, $passable);
		};
	}
/www/web/luosijie_com/public_html/app/theme/middleware/preview.php
 
    public function handle($request, Clousure $next)
    {
        if (isset($_COOKIE['site']['preview'])&&$_COOKIE['site']['preview']=='true')
        {
            theme::preview();
        }
        return $next($request);
    }
}
/www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php
				// the appropriate method and arguments, returning the results back out.
				if ($pipe instanceof Closure)
				{
					return call_user_func($pipe, $passable, $stack);
				}
				else
				{
                    return kernel::single($pipe)->{$this->method}($passable, $stack);
				}
			};
/www/web/luosijie_com/public_html/app/topc/middleware/redirectIfFromWap.php
    {
        $wapIsOpen = app::get('sysconf')->getConf('sysconf_setting.wap_isopen');
 
        if(base_mobiledetect::isMobile() && $_COOKIE['browse'] != 'pc' && $wapIsOpen)
        {
            return redirect::route('topm');
        }
        return $next($request);
    }
}
/www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php
				// the appropriate method and arguments, returning the results back out.
				if ($pipe instanceof Closure)
				{
					return call_user_func($pipe, $passable, $stack);
				}
				else
				{
                    return kernel::single($pipe)->{$this->method}($passable, $stack);
				}
			};
<#unknown>
/www/web/luosijie_com/public_html/app/base/lib/pipeline/pipeline.php
	{
		$firstSlice = $this->getInitialSlice($destination);
 
		$pipes = array_reverse($this->pipes);
 
		return call_user_func(
			array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
		);
	}
 
/www/web/luosijie_com/public_html/app/base/lib/routing/router.php
        ->send($request)
                               ->through($middleware)
                               ->then(function($request) use ($route) {
                                   return $this->prepareResponse(
                                       $request,
                                       $route->run($request)
                                   );
                               });
	}
 
/www/web/luosijie_com/public_html/app/base/lib/routing/router.php
	 * @param  \Illuminate\Http\Request  $request
	 * @return mixed
	 */
	public function dispatchToRoute(base_http_request $request)
	{
		$route = $this->findRoute($request);
 
        $response = $this->runRouteWithinStack($route, $request);
        // 兼容ecos原系统, 如果控制器不返回任何信息, 意味着它决定自己做输出处理, 那么可以放弃对它采取后续行动
        if (is_null($response))
/www/web/luosijie_com/public_html/app/base/lib/routing/router.php
 
        /*
		if (is_null($response))
		{
			$response = $this->dispatchToRoute($request);
		}
        */
        $response = $this->dispatchToRoute($request);
		$response = $this->prepareResponse($request, $response);
 
/www/web/luosijie_com/public_html/app/base/lib/facades/facade.php
 
		switch (count($args))
		{
			case 0:
				return $instance->$method();
 
			case 1:
				return $instance->$method($args[0]);
 
			case 2:
/www/web/luosijie_com/public_html/app/base/kernel.php
        }
        else
        {
            static::checkInstalled();
        }
 
        static::registRouteMiddleware();
        $response = route::dispatch(request::instance());
        // 临时处理方式
        kernel::single('base_session')->close();
/www/web/luosijie_com/public_html/app/base/kernel.php
        }
        else
        {
            static::checkInstalled();
        }
 
        static::registRouteMiddleware();
        $response = route::dispatch(request::instance());
        // 临时处理方式
        kernel::single('base_session')->close();
/www/web/luosijie_com/public_html/public/index.php
define('WEB_MODE', true);
 
require __DIR__.'/../bootstrap/start.php';
 
//shopextool
url::forceRootUrl('http://www.luosijie.com/');
 
kernel::boot();
 
Key Value
shopcenter_html
empty
empty
Key Value
UNAME
empty
Key Value
REDIRECT_STATUS 200
HTTP_HOST www.luosijie.com
HTTP_X_REAL_IP 216.73.216.123
HTTP_CONNECTION close
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_VIA 1.1 squid-proxy-5b5d847c96-6fxbr (squid/6.13)
HTTP_CACHE_CONTROL max-age=259200
PATH /sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.luosijie.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 10.2.216.158
DOCUMENT_ROOT /www/web/luosijie_com/public_html/public/
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /www/web/luosijie_com/public_html/public/
SERVER_ADMIN you@example.com
SCRIPT_FILENAME /www/web/luosijie_com/public_html/public/index.php
REMOTE_PORT 42886
REDIRECT_URL /shopcenter.html
REDIRECT_QUERY_STRING shopcenter.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING shopcenter.html
REQUEST_URI /shopcenter.html
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1765866776.482
REQUEST_TIME 1765866776
empty
0. Whoops\Handler\PrettyPageHandler