|
|
@@ -59,6 +59,12 @@ class GoodsLogic extends BaseLogic
|
|
|
'service_image' => $params['service_image'],
|
|
|
'fee_schedule' => $params['fee_schedule'],
|
|
|
'goods_status' => $params['goods_status'],
|
|
|
+ 'is_recommend' => $params['is_recommend'] ?:0,
|
|
|
+ 'recommend_weight' => $params['recommend_weight'] ?:0,
|
|
|
+ 'is_top' => $params['is_top'] ?:0,
|
|
|
+ 'top_weight' => $params['top_weight'] ?:0,
|
|
|
+ 'is_hot' => $params['is_hot'] ?:0,
|
|
|
+ 'hot_weight' => $params['hot_weight'] ?:0,
|
|
|
]);
|
|
|
|
|
|
Db::commit();
|
|
|
@@ -101,6 +107,12 @@ class GoodsLogic extends BaseLogic
|
|
|
'service_image' => $params['service_image'],
|
|
|
'fee_schedule' => $params['fee_schedule'],
|
|
|
'goods_status' => $params['goods_status'],
|
|
|
+ 'is_recommend' => $params['is_recommend'] ?:0,
|
|
|
+ 'recommend_weight' => $params['recommend_weight'] ?:0,
|
|
|
+ 'is_top' => $params['is_top'] ?:0,
|
|
|
+ 'top_weight' => $params['top_weight'] ?:0,
|
|
|
+ 'is_hot' => $params['is_hot'] ?:0,
|
|
|
+ 'hot_weight' => $params['hot_weight'] ?:0,
|
|
|
]);
|
|
|
|
|
|
Db::commit();
|