|
|
@@ -39,10 +39,6 @@ class CustomController extends BaseController
|
|
|
|
|
|
$post = Yii::$app->request->post();
|
|
|
$shopId = $this->shopId;
|
|
|
- $home = $post['home'] ?? 1;
|
|
|
- if ($home == 0) {
|
|
|
- $post['homeAmount'] = 0;
|
|
|
- }
|
|
|
ShopClass::updateById($shopId, $post);
|
|
|
|
|
|
$showStock = $post['showStock'] ?? 0;
|