12345678910111213141516171819202122232425 |
- <?php
- namespace app\api\controller\v1;
- use app\api\controller\Base;
- use app\hander\HelpHander;
- class BudgetDepTotal extends Base
- {
- // 合计
- public function list(){
- $page = input('page/d',1);
- $size = input('size/d',10);
- $budgetId = input('budgetId/',0);
- $companyId = input('companyId/',0);
- $ret = model('BudgetDepTotal')->lists($page,$size,$budgetId,$companyId,$this->orgId);
- HelpHander::success($ret);
- }
- public function info(){
- $id = input('id/d',0);
- $ret = model('BudgetDepTotal')->info($id);
- HelpHander::success($ret);
- }
- }
|