|
|
@@ -37,6 +37,10 @@ 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;
|
|
|
@@ -160,7 +164,7 @@ class CustomController extends BaseController
|
|
|
}
|
|
|
//小齐鲜花总店和出车,多处请搜索关键词 xq_clear_control
|
|
|
if (in_array($this->shopId, [41467, 42946])) {
|
|
|
- if (!in_array($this->adminId, [40144,42912,42023])) {
|
|
|
+ if (!in_array($this->adminId, [40144, 42912, 42023])) {
|
|
|
util::fail('您不能充值销单哦。');
|
|
|
}
|
|
|
}
|