|
@@ -55,7 +55,6 @@ class Project extends Api |
|
@@ -55,7 +55,6 @@ class Project extends Api |
55
|
* @ApiSummary (项目列表)
|
55
|
* @ApiSummary (项目列表)
|
56
|
* @ApiMethod (POST)
|
56
|
* @ApiMethod (POST)
|
57
|
* @ApiRoute (/api/project/get_all)
|
57
|
* @ApiRoute (/api/project/get_all)
|
58
|
- * @ApiHeaders (name=token, type=string, required=true, description="请求的Token")
|
|
|
59
|
*
|
58
|
*
|
60
|
* @ApiParams (name="farm_id", type="int", required=false, description="农场id")
|
59
|
* @ApiParams (name="farm_id", type="int", required=false, description="农场id")
|
61
|
* @ApiParams (name="page", type="inter", required=false, description="当前页(默认1)")
|
60
|
* @ApiParams (name="page", type="inter", required=false, description="当前页(默认1)")
|
|
@@ -79,7 +78,6 @@ class Project extends Api |
|
@@ -79,7 +78,6 @@ class Project extends Api |
79
|
*/
|
78
|
*/
|
80
|
public function get_all()
|
79
|
public function get_all()
|
81
|
{
|
80
|
{
|
82
|
- $user_id = $this->getUserId();
|
|
|
83
|
// $domain_name = $this->request->domain();//域名
|
81
|
// $domain_name = $this->request->domain();//域名
|
84
|
$page = $this->request->param('page',1,'intval');
|
82
|
$page = $this->request->param('page',1,'intval');
|
85
|
$pageNum = $this->request->param('pageNum',10,'intval');
|
83
|
$pageNum = $this->request->param('pageNum',10,'intval');
|