|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 鼠笼笼位相关接口 |
|
|
|
|
* 小鼠相关接口 |
|
|
|
|
* @author YS |
|
|
|
|
* @version 1.0 |
|
|
|
|
*/ |
|
|
|
@ -191,7 +191,7 @@ class Api_SquirrelController extends Ctrl_Api{ |
|
|
|
|
* } |
|
|
|
|
* } |
|
|
|
|
*/ |
|
|
|
|
public function getInfoAction(){ |
|
|
|
|
public function getInfosAction(){ |
|
|
|
|
$id = empty($this->POST['id'])||!isset($this->POST['id'])?Tool_Fnc::apiMsg('小鼠ID缺失', '500'):Tool_Fnc::safe_string($this->POST['id']); |
|
|
|
|
$data = $this->Squirrelmodel->getOneInfo($id); |
|
|
|
|
Tool_Fnc::apiMsg('获取成功', '200',$data); |
|
|
|
|