...
|
...
|
@@ -1117,6 +1117,7 @@ class Index extends Api |
|
|
*/
|
|
|
public function LeftProductChoose()
|
|
|
{
|
|
|
$map4['a.stock'] = ['GT', 0];
|
|
|
$param = $this->request->param();
|
|
|
$map1 = [];
|
|
|
$map2 = [];
|
...
|
...
|
@@ -1145,7 +1146,6 @@ class Index extends Api |
|
|
$map3['logo_id'] = array('eq', $logo_id);
|
|
|
}
|
|
|
}
|
|
|
$map4['a.id'] = ['eq', 1];
|
|
|
$product_id = \db('product')
|
|
|
->alias('a')
|
|
|
->join('logo b', 'b.id=a.logo_id')
|
...
|
...
|
@@ -1161,7 +1161,7 @@ class Index extends Api |
|
|
if (empty($product_id)) {
|
|
|
$return['count'] = [];
|
|
|
$return['list'] = [];
|
|
|
$this->success('成功1', $return);
|
|
|
$this->success('成功', $return);
|
|
|
die;
|
|
|
}
|
|
|
foreach ($product_id as $k => $v) {
|
...
|
...
|
|