作者 lyh

gx

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