更新
This commit is contained in:
parent
d5cf7e69c9
commit
9a2a3b829f
@ -121,7 +121,7 @@ class StoreMicro extends BaseController
|
||||
$find['cate_id'] = $store_category_id;
|
||||
unset($find['create_time']);
|
||||
}
|
||||
$a= app()->make( ProductRepository::class)->create($find,0,1);
|
||||
$a= app()->make( ProductRepository::class)->create($find,$product_type,1);
|
||||
if($a){
|
||||
return app('json')->success(['data'=>['product_id'=>$a],'msg'=>'导入成功']);
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user