|
|
@@ -16,6 +16,20 @@ class ShopExtController extends BaseController
|
|
|
|
|
|
public $guestAccess = [];
|
|
|
|
|
|
+ //美团制作单属性状态更新 ssh 20220710
|
|
|
+ public function actionUpdateMtAlone()
|
|
|
+ {
|
|
|
+ $alone = Yii::$app->request->get('alone', 0);
|
|
|
+ $shopId = $this->shopId;
|
|
|
+ $ext = ShopExtClass::getByCondition(['shopId' => $shopId], true);
|
|
|
+ if (empty($ext)) {
|
|
|
+ util::fail('没有找到门店');
|
|
|
+ }
|
|
|
+ $ext->mtAlone = $alone;
|
|
|
+ $ext->save();
|
|
|
+ util::complete();
|
|
|
+ }
|
|
|
+
|
|
|
//取出供应商的小菊颜色 ssh 20210907
|
|
|
public function actionGetGhsXj()
|
|
|
{
|