# 国家防沉迷实名认证接口封装 **Repository Path**: d8feel_project/RealNameAuthentication ## Basic Information - **Project Name**: 国家防沉迷实名认证接口封装 - **Description**: 网络游戏防沉迷系统,实名认证接口封装 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-06-23 - **Last Updated**: 2021-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 国家防沉迷实名认证接口封装 #### 介绍 网络游戏防沉迷系统,实名认证接口封装 #### 使用说明 1. 登录 [网络游戏防沉迷系统](https://wlc.nppa.gov.cn/fcm_company/index.html) 2. 确保 【入接口测试】全部通过 3. 配置 config.php 文件中 "appId","secretKey","bizId" 调用示例 ~~~ $postdata = [ "ai" => , "name" => , "idNum" => , ]; $Authentication = new Authentication(); $returnData = $Authentication -> authentication("check",$postdata); if(empty($returnData)){ $getError = $Authentication -> getError(); return resultArr("系统繁忙,稍后重试", $getError['code'], $getError['message'], 'Json'); } ~~~