|
@@ -163,7 +163,7 @@ class Api extends Base
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if ($info['product_id']) {
|
|
if ($info['product_id']) {
|
|
|
- $product = Dever::db('product/info')->one($product_id);
|
|
|
|
|
|
|
+ $product = Dever::db('product/info')->one($info['product_id']);
|
|
|
$this->data['product'] = array($product);
|
|
$this->data['product'] = array($product);
|
|
|
$this->data['address'] = Dever::db('product/address')->one(array('uid' => $this->data['uid']));
|
|
$this->data['address'] = Dever::db('product/address')->one(array('uid' => $this->data['uid']));
|
|
|
|
|
|