|
|
@@ -369,6 +369,15 @@ class CustomController extends BaseController
|
|
|
$get = Yii::$app->request->get();
|
|
|
$type = isset($get['type']) ? $get['type'] : 0;
|
|
|
$name = isset($get['name']) ? $get['name'] : '';
|
|
|
+
|
|
|
+ $mainId = $this->mainId;
|
|
|
+ $isCashier = $get['isCashier'] ?? 0;
|
|
|
+ if ($isCashier == 1) {
|
|
|
+ //去掉收银台提示价格更新
|
|
|
+ $staffId = $this->shopAdminId;
|
|
|
+ Yii::$app->redis->executeCommand('DEL', ['ghs_cashier_' . $mainId . '_' . $staffId . '_may_refresh']);
|
|
|
+ }
|
|
|
+
|
|
|
$where = ['ownMainId' => $this->mainId];
|
|
|
$sort = 'visitTime DESC';
|
|
|
if ($type == 1) {
|