<body>
<div class="echo">
</div>
<div class="exception">
<div class="message">
<div class="info">
<div>
<h2>[0] <abbr title="InvalidArgumentException">InvalidArgumentException</abbr> in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\Model.php line 463">Model.php line 463</a></h2>
</div>
<div><h1>类的属性不存在:app\api\model\Product->stoke</h1></div>
</div>
</div>
<div class="source-code">
<pre class="prettyprint lang-php"><ol start="454"><li class="line-454"><code> $method = Loader::parseName($name, 1, false);
</code></li><li class="line-455"><code> if (method_exists($this, $method) && $this->$method() instanceof Relation) {
</code></li><li class="line-456"><code> // 清空之前的查询参数
</code></li><li class="line-457"><code> $this->$method()->removeOption();
</code></li><li class="line-458"><code> // 不存在该字段 获取关联数据
</code></li><li class="line-459"><code> $value = $this->$method()->getRelation();
</code></li><li class="line-460"><code> // 保存关联对象值
</code></li><li class="line-461"><code> $this->data[$name] = $value;
</code></li><li class="line-462"><code> } else {
</code></li><li class="line-463"><code> throw new InvalidArgumentException('property not exists:' . $this->class . '->' . $name);
</code></li><li class="line-464"><code> }
</code></li><li class="line-465"><code> }
</code></li><li class="line-466"><code> return $value;
</code></li><li class="line-467"><code> }
</code></li><li class="line-468"><code>
</code></li><li class="line-469"><code> /**
</code></li><li class="line-470"><code> * 数据读取 类型转换
</code></li><li class="line-471"><code> * @access public
</code></li><li class="line-472"><code> * @param mixed $value 值
</code></li></ol></pre>
</div>
<div class="trace">
<h2>Call Stack</h2>
<ol>
<li>in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\Model.php line 463">Model.php line 463</a></li>
<li>
at <abbr title="think\Model">Model</abbr>->getAttr('stoke') in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\Model.php line 1860">Model.php line 1860</a> </li>
<li>
at <abbr title="think\Model">Model</abbr>->offsetGet('stoke') in <a class="toggle" title="D:\wamp\www\zerg\application\api\service\Order.php line 184">Order.php line 184</a> </li>
<li>
at <abbr title="app\api\service\Order">Order</abbr>->getProductStatus(1, 2, <em>object</em>(<abbr title="think\model\Collection">Collection</abbr>)) in <a class="toggle" title="D:\wamp\www\zerg\application\api\service\Order.php line 144">Order.php line 144</a> </li>
<li>
at <abbr title="app\api\service\Order">Order</abbr>->getOrderStatus() in <a class="toggle" title="D:\wamp\www\zerg\application\api\service\Order.php line 36">Order.php line 36</a> </li>
<li>
at <abbr title="app\api\service\Order">Order</abbr>->place(1, [['product_id' => 1, 'count' => 2], ['product_id' => 2, 'count' => 3]]) in <a class="toggle" title="D:\wamp\www\zerg\application\api\controller\v1\Order.php line 50">Order.php line 50</a> </li>
<li>
at <abbr title="app\api\controller\v1\Order">Order</abbr>->placeOrder() </li>
<li>
at <abbr title="ReflectionMethod">ReflectionMethod</abbr>->invokeArgs(<em>object</em>(<abbr title="app\api\controller\v1\Order">Order</abbr>), []) in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\App.php line 224">App.php line 224</a> </li>
<li>
at <abbr title="think\App">App</abbr>::invokeMethod([<em>object</em>(<abbr title="app\api\controller\v1\Order">Order</abbr>), 'placeOrder'], []) in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\App.php line 389">App.php line 389</a> </li>
<li>
at <abbr title="think\App">App</abbr>::module(['api', 'v1.Order', 'placeOrder'], ['app_namespace' => 'app', 'app_debug' => <em>true</em>, 'app_trace' => <em>false</em>, ...], <em>false</em>) in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\library\think\App.php line 130">App.php line 130</a> </li>
<li>
at <abbr title="think\App">App</abbr>::run() in <a class="toggle" title="D:\wamp\www\zerg\thinkphp\start.php line 18">start.php line 18</a> </li>
<li>
at require('<a class="toggle" title="D:\wamp\www\zerg\thinkphp\start.php">D:\wamp\www\zerg\thi...</a>') in <a class="toggle" title="D:\wamp\www\zerg\public\index.php line 18">index.php line 18</a> </li>
</ol>
</div>
</div>