dever 7 년 전
부모
커밋
a3f03677e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      product/src/Api.php

+ 1 - 1
product/src/Api.php

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