|
|
@@ -28,6 +28,12 @@ class ItemController extends BaseController
|
|
|
//列出所有花材,包括特价花材列表 ssh 20220315
|
|
|
public function actionShowList()
|
|
|
{
|
|
|
+ $headers = Yii::$app->getRequest()->getHeaders();
|
|
|
+ $appVersion = $headers->get('appVersion');
|
|
|
+ if ($appVersion != 3) {
|
|
|
+ util::fail('请先升级系统');
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$isCashier = $get['isCashier'] ?? 0;
|
|
|
$mainId = $this->mainId;
|