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

扫码场景

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