代码下载接口
This commit is contained in:
@@ -46,4 +46,16 @@ class CodeGenerationController extends BaseController
|
||||
return $this->service->download($id);
|
||||
}
|
||||
|
||||
public function downloadInfo()
|
||||
{
|
||||
// $id = request()->post('id');
|
||||
$id = request()->get('id');
|
||||
if (!$id) {
|
||||
return jerr('参数错误!');
|
||||
}
|
||||
return jok(
|
||||
$this->service->downloadInfo($id)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user