select(['name','owner_uid'])->first(); $userinfo = new \UserInfo(); $channel->owner_info = $userinfo->getName($channel->owner_uid); return $this->ok($channel); } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param \App\Models\Channel $channel * @return \Illuminate\Http\Response */ public function update(Request $request, Channel $channel) { // } /** * Remove the specified resource from storage. * * @param \App\Models\Channel $channel * @return \Illuminate\Http\Response */ public function destroy(Channel $channel) { // } }