作者 王晓刚
1 个管道 的构建 通过 耗费 2 秒

修改问题文档

@@ -287,7 +287,7 @@ class Goods extends Frontend @@ -287,7 +287,7 @@ class Goods extends Frontend
287 $insurance = '2'; 287 $insurance = '2';
288 $store = $storeModel->findData(['id'=>$vo['store_id']]); 288 $store = $storeModel->findData(['id'=>$vo['store_id']]);
289 $store_user = $userModel->findData(['id'=>$store['user_id']]); 289 $store_user = $userModel->findData(['id'=>$store['user_id']]);
290 - if($store['is_svip'] == '1' || in_array($param['province_id'],$store['province_ids'])){ 290 + if($store_user['is_svip'] == '1' || in_array($param['province_id'],$store['province_ids'])){
291 $insurance = '1'; 291 $insurance = '1';
292 } 292 }
293 $data[$key]['insurance'] = $insurance; 293 $data[$key]['insurance'] = $insurance;