Your Name 2 năm trước cách đây
mục cha
commit
e810bd1d86
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      service/mail/lib/Manage.php

+ 4 - 1
service/mail/lib/Manage.php

@@ -641,7 +641,10 @@ class Manage
 
                 $data[$k]['countys']['price']= round($data[$k]['countys']['money']['total']) * 0.3*0.03;
                 $mid = Dever::db('agent/member')->getAreaAll($where);
-                $data[$k]['countys']['mid'] = $mid['id'];
+                 $data[$k]['countys']['mid'] = '';
+                if($mid && $mid['id']){
+                    $data[$k]['countys']['mid'] = $mid['id'];
+                }
                 $wh['county'] = $v['county'];
                 $data[$k]['countys']['num'] = Dever::db('shop/info')->getSerachNum($wh);
                 // #体验店