84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
https://lazada-sellercenter.readme.io/docs/signing-requests
How can I get the encrypted sign
The above example has made it very clear
'look@me.com', // 版本 'Version' => '1.0', // 要调用的方法 'Action' => 'FeedList', 'Format' => 'XML', 'Timestamp' => $now->format(DateTime::ISO8601) ); // 排序 ksort($parameters); // 转码 $encoded = array(); // 循环拼接 foreach ($parameters as $name => $value) { $encoded[] = rawurlencode($name) . '=' . rawurlencode($value); } // 把数组用&连接成字符串 UserID=look@me.com&Version=1.0&Action=FeedList $concatenated = implode('&', $encoded); // 你的api_key api_key = 'b1bdb357ced10fe4e9a69840cdd4f0e9c03d77fe'; // 加密 $parameters['Signature'] = rawurlencode(hash_hmac('sha256', $concatenated, $api_key, false)); // 打印一下$parameters 就获取到签名啦 Action=FeedList Format=XML Timestamp=2015-07-01T11:11:11+00:00 UserID=look@me.com Version=1.0 Signature=3ceb8ed91049dfc718b0d2d176fb2ed0e5fd74f76c5971f34cdab48412476041
The above example has made it very clear