作者 lyh

gx

... ... @@ -50,6 +50,8 @@ class ProductLogic extends BaseLogic
if(isset($this->param['category_id']) && !empty($this->param['category_id'])) {
$category_ids = $this->getLastCategoryArr($this->param['category_id']);
$this->param['category_id'] = ','.implode(',',$category_ids).',';
}else{
$this->param['category_id'] = '';
}
DB::connection('custom_mysql')->beginTransaction();
try {
... ...