Anjaxs

php实现网易云短信验证

<?php class Sms { const APP_KEY = “开发者平台分配的appkey”; const APP_SECRET = “开发者平台分配的app secret”; const TEMPLATE_ID = “模板id”; protected $nonce; //随机数(最大长度128个字符) protected $curTime; //当前UTC时间戳 protected […]