1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace app\api\controller\v1;
- use app\api\business\CydBus;
- use app\api\business\JcdBus;
- class Jcd
- {
- //获取检测单列表
- public function getJcdList()
- {
- $data = [
- 'pageNum' => request()->param('pageNum', 1, 'int'),
- 'pageSize' => request()->param('pageSize', null, 'int'),
- 'undertake_id' => request()->param('undertake_id', '', 'int'),//当前的选中项的undertake_id,在数据库cyd中的undertake_id,undertake的id
- ];
- $result = (new JcdBus())->getJcdList($data);
- return showSuccess($result);
- }
- //填报检测单
- public function saveJcdInfo()
- {
- $data = [
- ];
- }
- }
|