* [task#125955,done,0.3h] process return data for story close.

This commit is contained in:
caoyanyi
2024-08-20 14:11:10 +08:00
committed by 李阳
parent 58dba7cd68
commit cb3e237b6f
+1 -1
View File
@@ -28,7 +28,7 @@ class storyCloseEntry extends entry
$data = $this->getData();
if(!$data) return $this->send400('error');
if(isset($data->status) and $data->status == 'fail') return $this->sendError(zget($data, 'code', 400), $data->message);
if(isset($data->result) && $data->result == 'fail') return $this->sendError(zget($data, 'code', 400), $data->message);
$story = $this->loadModel('story')->getByID($storyID);