帮我吧文档:数据接口:工单:签名认证

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
帮我吧文档:数据接口:工单:签名认证 [2020/01/13 09:39]
admin
帮我吧文档:数据接口:工单:签名认证 [2020/06/28 00:11] (当前版本)
行 8: 行 8:
  
   * signature  签名token   * signature  签名token
-  * timestamp 10位时间戳+  * timestamp 时间戳
   * nonce 随机数   * nonce 随机数
   * authaccount 第三方系统与帮我吧对应客户的唯一标识(要求小写)   * authaccount 第三方系统与帮我吧对应客户的唯一标识(要求小写)
行 63: 行 63:
         $params['private_key'] = $this->private_key;         $params['private_key'] = $this->private_key;
         $params['timestamp'] = $this->timestamp;         $params['timestamp'] = $this->timestamp;
-        $params['nonce'] = $this->nonce;+        $params['nonce'] = $this->nonce =123456;
         $tmpArr = array_values($params);         $tmpArr = array_values($params);
         sort($tmpArr, SORT_STRING);         sort($tmpArr, SORT_STRING);
行 74: 行 74:
     'mobile'=>'15564532345'     'mobile'=>'15564532345'
     'authaccount'=>'dhif948'     'authaccount'=>'dhif948'
 +];
 $signObj = new Signature(); $signObj = new Signature();
 $signature =  $signObj->makeSignature($params); $signature =  $signObj->makeSignature($params);

页面工具