add(); HelpHander::success([],'操作成功'); } // 完成维修 public function finish(){ model('AssetRepair')->finish(); HelpHander::success([],'操作成功'); } // 详情 public function detail(){ $id = input('id/d',0); $ret = model('AssetRepair')->info($id); HelpHander::success($ret); } }