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

合并分支 'heshupeng' 到 'master'

给物业留言



查看合并请求 !297
@@ -13,6 +13,8 @@ use app\common\controller\Api; @@ -13,6 +13,8 @@ use app\common\controller\Api;
13 use think\Cache; 13 use think\Cache;
14 use think\Db; 14 use think\Db;
15 use think\Validate; 15 use think\Validate;
  16 +use think\Exception;
  17 +use think\exception\PDOException;
16 use app\api\model\House; 18 use app\api\model\House;
17 use app\api\model\HouseAdmin as HouseAdminModel; 19 use app\api\model\HouseAdmin as HouseAdminModel;
18 use app\api\model\HouseBoard; 20 use app\api\model\HouseBoard;
@@ -412,7 +412,7 @@ class HouseBoard extends Api @@ -412,7 +412,7 @@ class HouseBoard extends Api
412 "remark" => '', 412 "remark" => '',
413 ); 413 );
414 $openid = Db::name('third')->where('user_id',$param['house_user_id'])->value('openid'); 414 $openid = Db::name('third')->where('user_id',$param['house_user_id'])->value('openid');
415 - $url = config('option.vue_url') . '/liuyanxiaoxi?is_template=1&id='.$param['house_user_id']; 415 + $url = config('option.vue_url') . '/liuyanxiaoxi?is_template=1&id='.$res_msg['id'];
416 $this->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url); 416 $this->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url);
417 Db::commit(); 417 Db::commit();
418 } catch (PDOException $e) { 418 } catch (PDOException $e) {