💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
* 客服认证 | 传入参 | 说明 | | --- | --- | | signature | \[ 必填 \] 校对值1 | | timestamp | \[ 必填 \] 校对值2 | | nonce | \[ 必填 \] 校对值3 | | echostr | \[ 必填 \] 输出值 | * 案例 ~~~ echo checkSignature(); function checkSignature() { $signature = $_GET["signature"]; $timestamp = $_GET["timestamp"]; $nonce = $_GET["nonce"]; $token = '831b09cae9adc905d171ab3cbc8fd4ba'; $tmpArr = array($token, $timestamp, $nonce); sort($tmpArr, SORT_STRING); $tmpStr = implode( $tmpArr ); $tmpStr = sha1( $tmpStr ); if ($tmpStr == $signature ) { return $_GET['echostr']; } else { return false; } } ~~~ >认证时候使用