作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

扫码场景

... ... @@ -93,12 +93,12 @@ class Wechat extends Frontend
$user = WechatService::getUserByOpenid($openid);
$house = House::get($house_id);
// 发送内容
$content = "欢迎关注{$house['name']}!"."\n\n";
$content = "欢迎关注{$house['name']}!"."\n";
$phoneList = HousePhone::where('house_id',$house_id)->select();
foreach ($phoneList as $v) {
$content .= "{$v['name']}:{$v['phone']}"."\n";
$content .= "\n"."{$v['name']}:{$v['phone']}";
}
$content .= "\n"."业主账号:%u"
$content .= "\n\n"."业主账号:%u"
."\n\n"."<a href='https://weixin.qq.com/'>查看物业公告</a>"
."\n\n"."<a href='https://weixin.qq.com/'>给物业留言</a>";
//*------------------------已有账号,直接加入小区-----------------------*/
... ...