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

合并分支 'heshupeng' 到 'master'

模板消息链接修改



查看合并请求 !340
... ... @@ -127,7 +127,7 @@ class UserHouse extends Backend
"remark" => ['请仔细核对以上信息,如有不符,请与相关物业人员反馈,谢谢!','#FF0000'],
);
$openid = Db::name('third')->where('user_id',$row->user_id)->value('openid');
$url = config('option.vue_url') . '/affiche?house_id='.$row->house_id;
$url = config('option.vue_url') . '/?house_id='.$row->house_id;
$this->wxsendmessage($openid,$send_data,config('option.template')['license'],$url);
}
$result = $row->save();
... ...
... ... @@ -438,7 +438,7 @@ class HouseAdmin extends Api
);
foreach ($user_id_arr as $user_id) {
$openid = Db::name('third')->where('user_id',$user_id)->value('openid');
$url = config('option.vue_url') . '/affiche?house_id='.$post['house_id'];
$url = config('option.vue_url') . '/?house_id='.$post['house_id'];
(new \app\index\controller\Ajax)->wxsendmessage($openid,$send_data,config('option.template')['house_notice'],$url);
}
}
... ...
... ... @@ -103,7 +103,7 @@ class Wechat extends Frontend
}
$vue_url = config('option.vue_url');
$content .= "\n\n"."业主账号:%u"
."\n\n"."<a href='{$vue_url}/affiche?house_id={$house_id}'>查看物业公告</a>"
."\n\n"."<a href='{$vue_url}/?house_id={$house_id}'>查看物业公告</a>"
."\n\n"."<a href='{$vue_url}/message?house_id={$house_id}'>给物业留言</a>";
//*------------------------已有账号,直接加入小区-----------------------*/
if($user){
... ...