多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 获取浏览器User_Agent信息 Api地址: https://api.mscxty.com/Http/GetUserAgentInfo.php 提交内容:无(本命令受协议头User_Agent影响) 返回内容: ``` {"Code":200,"Msg":"\\u83b7\\u53d6\\u6210\\u529f","Data":{"User\_Agent":"Mozilla\\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/78.0.3904.108 Safari\\/537.36","Browser":"Chrome","Ver":"78.0.3904.108","OS":"Windows 10"}} ``` | 参数名 | 参数说明 | | --- | --- | | Code | 默认为200,即成功,否则不成功,错误内容会返回至Msg | | Msg | 默认为获取成功,即成功,否则返回错误内容 | | Data.User_Agent | 返回浏览器User_Agent,如:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36 | | Data.Browser | 返回浏览器类型,如:Chrome | | Data.Ver | 返回浏览器版本信息,如:78.0.3904.108 | | Data.OS | 返回操作系统信息,如:Windows 10 |