|
|
@@ -32,10 +32,9 @@ class ProductController extends Controller
|
|
|
$productList = ProductClass::getAllByCondition(['mainId' => $mainId, 'classId' => 3180], null, '*');
|
|
|
if (!empty($productList)) {
|
|
|
foreach ($productList as $post) {
|
|
|
- //复制标识
|
|
|
$post['copy'] = 1;
|
|
|
+ $post['auth'] = 0;
|
|
|
$post['sjId'] = $shop->sjId ?? 0;
|
|
|
- //去除无用的字段
|
|
|
unset($post['viewNum']);
|
|
|
unset($post['actualSold']);
|
|
|
unset($post['itemId']);
|