### 签名生成规则
> 参数名按字典升序进行排序
> 参数名区分大小写
在排序后以URL键值(即:key1=value1&key2=value2)拼字符串,并在最后添加&key=xxxxx
* * *
#### PHP签名方式
~~~
$query = [
'app_id' => '你的app_id',
'biz_content' => json_encode($bizContent),
'version' => '1.0',
'method' => 'sms.message.send',
'sign_type' => 'md5',
'timestamp' => 1561860560738 //注意是毫秒
];
ksort($query);
$query['key'] = '你的开发者密钥';
$list = [];
foreach ($query as $k => $v) $list[] = $k .'='.$v;
$sign = strtoupper(md5(implode('&', $list)));
~~~