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

给物业留言

... ... @@ -13,6 +13,8 @@ use app\common\controller\Api;
use think\Cache;
use think\Db;
use think\Validate;
use think\Exception;
use think\exception\PDOException;
use app\api\model\House;
use app\api\model\HouseAdmin as HouseAdminModel;
use app\api\model\HouseBoard;
... ...
... ... @@ -412,7 +412,7 @@ class HouseBoard extends Api
"remark" => '',
);
$openid = Db::name('third')->where('user_id',$param['house_user_id'])->value('openid');
$url = config('option.vue_url') . '/liuyanxiaoxi?is_template=1&id='.$param['house_user_id'];
$url = config('option.vue_url') . '/liuyanxiaoxi?is_template=1&id='.$res_msg['id'];
$this->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url);
Db::commit();
} catch (PDOException $e) {
... ...