Merge branch 'sprint/scx_storyapibug' into 'master'

* Fix execution story api bug.

See merge request easycorp/zentaopms!7161
This commit is contained in:
孙广明
2023-03-14 08:54:28 +00:00
+1 -1
View File
@@ -24,7 +24,7 @@ class executionStoriesEntry extends entry
if(empty($executionID)) return $this->sendError(400, 'Need execution id.');
$control = $this->loadController('execution', 'story');
$control->story($executionID, $this->param('order', 'id_desc'), $this->param('status', 'all'), 0, 0, $this->param('limit', 20), $this->param('page', 1));
$control->story($executionID, $this->param('storyType', 'story'), $this->param('order', 'id_desc'), $this->param('status', 'all'), 0, 0, $this->param('limit', 20), $this->param('page', 1));
$data = $this->getData();
if(isset($data->status) and $data->status == 'success')