校对功能
This commit is contained in:
@@ -636,7 +636,7 @@ class Proofread extends Base
|
|||||||
}
|
}
|
||||||
$aResult = $oProofReadService->proofread($aArticleMain['content']);
|
$aResult = $oProofReadService->proofread($aArticleMain['content']);
|
||||||
if(empty($aResult)){
|
if(empty($aResult)){
|
||||||
return json_encode(array('status' => 7,'msg' => 'Not returned to school regarding the content'));
|
return json_encode(array('status' => 7,'msg' => 'Failed to obtain proofreading content'));
|
||||||
}
|
}
|
||||||
//数据处理
|
//数据处理
|
||||||
$aError = empty($aResult['errors']) ? [] : $aResult['errors'];
|
$aError = empty($aResult['errors']) ? [] : $aResult['errors'];
|
||||||
|
|||||||
Reference in New Issue
Block a user