修改上传类型更改
This commit is contained in:
parent
160eb5fbc2
commit
7bffc57f20
@ -300,7 +300,7 @@ class ProductRepository extends BaseRepository
|
|||||||
* @param int $id
|
* @param int $id
|
||||||
* @param array $data
|
* @param array $data
|
||||||
*/
|
*/
|
||||||
public function edit(int $id, array $data, int $merId, int $productType, $conType = 0)
|
public function edit(int $id, array $data, int $merId, int $productType, $conType = 1)
|
||||||
{
|
{
|
||||||
if (!$data['spec_type']) {
|
if (!$data['spec_type']) {
|
||||||
$data['attr'] = [];
|
$data['attr'] = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user