月度存档: 6月 2022

Google API翻译申请及使用方法

注意事项 使用V2版本,即使用key进行接口验证 V3版本的验证需要把项目部署有Google云上 申请 申请 Google API 建立项目 启用记费功能 开启API 设立身份验证 参考文档: 如何使用google API翻译:http://www.snailtoday.com/archives/20047 使用 API 与参考:https://cloud.google.com/translate …

继续阅读 »

PHP中单元测试工具PHPUnit介绍和简单用法

1. PHPUnit 中文网:http://www.phpunit.cn/ 2. PHPUnit 中文手册:https://phpunit.readthedocs.io/zh_CN/latest/index.html 3. PHPUnit的GitHub项目库:http://www.phpunit.cn/plugins.html 4. PHP中单元测试工具PHPUnit的用法:https://www …

继续阅读 »