...
|
...
|
@@ -93,10 +93,13 @@ class Wechat extends Frontend |
|
|
$user = WechatService::getUserByOpenid($openid);
|
|
|
$house = House::get($house_id);
|
|
|
// 发送内容
|
|
|
$content = "欢迎关注{$house['name']}!"."\n";
|
|
|
$content = "欢迎关注{$house['name']}!";
|
|
|
$phoneList = HousePhone::where('house_id',$house_id)->select();
|
|
|
foreach ($phoneList as $v) {
|
|
|
$content .= "\n"."{$v['name']}:{$v['phone']}";
|
|
|
if(!empty($phoneList)){
|
|
|
$content .= "\n";
|
|
|
foreach ($phoneList as $v) {
|
|
|
$content .= "\n"."{$v['name']}:{$v['phone']}";
|
|
|
}
|
|
|
}
|
|
|
$content .= "\n\n"."业主账号:%u"
|
|
|
."\n\n"."<a href='https://weixin.qq.com/'>查看物业公告</a>"
|
...
|
...
|
|