Commit 863d64f4 by doszhang

dos

parent 5884c343
......@@ -29,8 +29,8 @@ class IndexController extends Controller
$this->display();
}
public function detectSensitiveWords(){
$text = $_GET['text'];
public function detectSensitiveWords($text){
// $text = $_GET['text'];
$cred = new Credential("AKID9B4pPq5YBgz9Yo7qDRkspgOQK3c89PrD", "MXWK3DKNFzYgpvWwCKH4kKoma0O1Yu8A");
$httpProfile = new HttpProfile();
$httpProfile->setEndpoint("nlp.tencentcloudapi.com");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment