/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     //
     return view('wd.admin.info.edit')->withData(['wdInfo' => WdInfo::find(1)]);
 }
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     //
     return view("wd.index")->withData(['menu' => Menu::all(), 'products' => $this->doSearchByCategory(WDConfig::PRODUCT_CATEGORY_JIEMIAN), 'wdInfo' => WdInfo::find(1)]);
 }