|
...
|
...
|
@@ -101,7 +101,7 @@ class ComController extends BaseController |
|
|
|
public function generateToken(){
|
|
|
|
$data = [
|
|
|
|
'phone' => $this->user['mobile'],
|
|
|
|
'from_order_id' => $this->param['from_order_id'] ?? '123456', // 提单系统 同步到个项目的唯一凭证(数字或者字符串)
|
|
|
|
'from_order_id' => $this->param['from_order_id'] ?? '5a179274si3j8z', // 提单系统 同步到个项目的唯一凭证(数字或者字符串)
|
|
|
|
'timestamp' => time(), // 接收到字符串解密出来以后需要 验证时间不超过30秒 超过时间视为无效授权
|
|
|
|
];
|
|
|
|
$common = new Common();
|
...
|
...
|
|