修改上传类型更改

This commit is contained in:
liu 2024-03-20 11:35:36 +08:00
parent 160eb5fbc2
commit 7bffc57f20

View File

@ -300,7 +300,7 @@ class ProductRepository extends BaseRepository
* @param int $id
* @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']) {
$data['attr'] = [];