composer require flc/alidayu
5. 使用
use Flc\Alidayu\Client;
use Flc\Alidayu\App;
use Flc\Alidayu\Requests\AlibabaAliqinFcSmsNumSend;
// 配置信息
$config = [
'app_key' => '*****',
'app_secret' => '************',
];
$client = new Client(new App($config));
$req = new AlibabaAliqinFcSmsNumSend;
$req->setRecNum('13312311231')
->setSmsParam([
'number' => rand(100000, 999999)
])
->setSmsFreeSignName('叶子坑')
->setSmsTemplateCode('SMS_15105357');
$resp = $client->execute($req)
print_r($resp);
print_r($resp->result->model);
?>
6. 帮助已抢111166个
抢已抢47039个
抢已抢133781个
抢已抢32394个
抢已抢19588个
抢