Exemplo n.º 1
0
 public function destroy(Request $request, $id)
 {
     empty($id) && !empty($request->input('id')) && ($id = $request->input('id'));
     $id = (array) $id;
     foreach ($id as $v) {
         $news = WechatDepotNews::destroy($v);
     }
     return $this->success('', count($id) > 5, compact('id'));
 }