|
@@ -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);
|
|
|
// #体验店
|