diff --git a/api/controllers/wxapp/material/Biz.php b/api/controllers/wxapp/material/Biz.php index 8e02ebe1..ee3c30e0 100644 --- a/api/controllers/wxapp/material/Biz.php +++ b/api/controllers/wxapp/material/Biz.php @@ -96,7 +96,8 @@ class Biz extends Wxapp array_multisort($countKey, SORT_DESC, $lists);//排序 $this->data['title'] = '店铺'; $this->data['bg_img'] = 'https://qs.haodian.cn/wechat_app/liche/storeInfo/theme.png'; - $this->data['biz_name'] = '狸车· ' . $re['biz_name'] . '店'; + $biz_name = strstr($re['biz_name'], '店') ? $re['biz_name'] : $re['biz_name'] . '店'; + $this->data['biz_name'] = '狸车· ' . $biz_name; $this->data['address'] = $re['address']; $this->data['lat'] = $re['lat']; $this->data['lng'] = $re['lng'];