Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目标是在 php 中为(美国)军人制作折扣系统。我在网上搜索了某种 api 来检查某种兵役编号,但找不到。自动实现此功能的最佳方法是什么。手动检查数字不是一种选择,因为这将延迟交易,除非这是唯一可能的方式。
根据您的业务性质,最简单的方法是在使用军事 ID 或类似的东西创建帐户时建立身份。由于我假设是安全原因,没有已知的系统可以以编程方式检查服务声明的有效性。