PHP code example of muzidudu / signature
1. Go to this page and download the library: Download muzidudu/signature library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
muzidudu / signature example snippets
{
"ts" : "时间戳(请求时间)",
"user_id" : "用户id",
"sign": "前端根据该包的sign算法生成的(参考 Signature.php 中的 makeSign 方法)"
}