shish 10 mesi fa
parent
commit
a859031bb0
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app-hd/controllers/GoodsController.php

+ 2 - 2
app-hd/controllers/GoodsController.php

@@ -182,8 +182,8 @@ class GoodsController extends BaseController
         $data['shopId'] = $this->shopId ?? 0;
         $data['flower'] = $info['flower'] ?? 0;
 
-        if (isset($info['spu']) && !empty($info['spu'])) {
-            util::fail('美团商品暂时不能修改');
+        if (!empty($info['spu'])) {
+            //util::fail('美团商品暂时不能修改');
         }
 
         $connection = Yii::$app->db;