1234567891011121314151617181920 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- class WasteDevice extends Base
- {
- public function list(){
- $page=input('page/d',1);
- $size=input('size/d',1000000);
- $orgId=input('orgId/d');
- $model = new \app\common\model\WasteDevice();
- $ret=$model->list($page,$size,$orgId);
- if($ret){
- HelpHander::success($ret);
- }else{
- HelpHander::error('暂无数据');
- }
- }
- }
|