WIN-2308041133\Administrator 3 weeks ago
parent
commit
1a5b437db6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/api/controller/store/StoreProductController.php

+ 2 - 2
app/api/controller/store/StoreProductController.php

@@ -179,9 +179,9 @@ class StoreProductController
         $data['store_self_mention'] = (int)sys_config('store_self_mention') ?? 0;//门店自提是否开启
         $data['activity'] = StoreProduct::activity($data['storeInfo']['id'], false);
         if ($data['storeInfo']['is_explosive']==1){
-            $data['storeInfo']['is_type']==1;
+            $data['storeInfo']['is_type']=1;
         }else{
-            $data['storeInfo']['is_type']==0;
+            $data['storeInfo']['is_type']=0;
         }
         return app('json')->successful($data);
     }