/**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     $data = ProjectThink::find($id);
     return response()->json($data);
 }
 protected function getThink($id)
 {
     $data = ProjectThink::where('p_id', $id[0])->where('v_id', $id[1])->first();
     if ($data) {
         $data['pt_content'] = Markdown::parse($data['pt_content']);
         $data['pt_check'] = Markdown::parse($data['pt_check']);
         $data['pt_require'] = Markdown::parse($data['pt_require']);
     }
     return $data;
 }