$this->auth() ]; $fields = ['*']; $user = UserFacade::findBy($conditions, $fields); $user = $user->getData()->data; $uid = $user->third_up_openid; $nickname = $user->third_up_nickname?$user->third_up_nickname:$user->wx_nickname; $headUrl = $user->wx_headimgurl; return ThirdH5ChatFacade::getChatUrl($uid, $nickname, $headUrl); } /** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { // } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * * @param int $id * @return \Illuminate\Http\Response */ public function destroy($id) { // } }