Пример #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $strpos
  * @return Response
  */
 public function attackme($strpos)
 {
     //
     $pos = explode('_', $strpos);
     $bshipModel = new BSmodel();
     $result['stat'] = $bshipModel->attackme($pos[1]);
     return json_encode($result);
 }