|
|
@@ -12,7 +12,6 @@
|
|
|
namespace App\Services\Common;
|
|
|
|
|
|
use App\Models\GoodsModel;
|
|
|
-use App\Models\StoreModel;
|
|
|
use App\Models\GoodsSkuModel;
|
|
|
use App\Services\BaseService;
|
|
|
|
|
|
@@ -287,11 +286,6 @@ class GoodsService extends BaseService
|
|
|
$data['thumb'] = get_image_path($data['thumb']);
|
|
|
}
|
|
|
|
|
|
- // 相册处理
|
|
|
- if (isset($data['albums']) && is_array($data['albums'])) {
|
|
|
- $data['albums'] = json_encode($data['albums']);
|
|
|
- }
|
|
|
-
|
|
|
// 验证商品名称
|
|
|
if (empty($data['goods_name'])) {
|
|
|
return message('请填写商品名称', false);
|