bugfix: guide set error

This commit is contained in:
aozhiwei 2022-11-03 11:50:29 +08:00
parent 1fdf197677
commit 70a0288d0a

View File

@ -13,9 +13,7 @@ class GuideController extends BaseAuthedController {
'account_id' => $this->_getAccountId() 'account_id' => $this->_getAccountId()
) )
); );
echo json_encode(array( $this->_rspData(array(
'errcode' => 0,
'errmsg' => "OK",
'data' => $row ? $row['data'] : null 'data' => $row ? $row['data'] : null
)); ));
} }
@ -40,6 +38,7 @@ class GuideController extends BaseAuthedController {
'modifytime' => $this->_getNowTime() 'modifytime' => $this->_getNowTime()
) )
); );
$this->_rspOk();
} }
} }