|
|
@@ -519,6 +519,7 @@ class StoreProductServices extends BaseServices
|
|
|
$description = $data['description'];
|
|
|
$type = $data['type'];
|
|
|
$data['is_gift'] = intval($data['is_gift']);
|
|
|
+ $data['is_free'] = intval($data['is_free']);
|
|
|
$data['is_repeat'] = intval($data['is_repeat']);
|
|
|
$data['recommend_list'] = count($data['recommend_list']) ? implode(',', array_column($data['recommend_list'], 'product_id')) : '';
|
|
|
$data['is_vip'] = in_array(0, $data['is_sub']) ? 1 : 0;
|