更换token值

qifengyuze
曾超新 5 years ago
parent 84961c2902
commit 4fbc1ae1ea
  1. 2
      frontend/config/params.php
  2. 2
      frontend/controllers/CarController.php

@ -2,7 +2,7 @@
return [
'adminEmail' => 'admin@example.com',
'userPanel' => [
'token' => 'ff7dc73536475c11981a1c52531f2ff7',
'token' => '8a668d6c94166df201337dbb272f66cf',
'phone_url' => 'http://user.banmacar.com/api/phone/op',
'sms_url' => 'http://user.banmacar.com/api/sms/single-send',
'myinfo_url' => 'http://user.banmacar.com/api/user/myinfo',

@ -4187,7 +4187,7 @@ class CarController extends BaseController
$MessageContent = str_replace("\t","",$MessageContent);
$url = 'http://user.banmacar.com/api/sms/single-send';
$params['token'] = 'ff7dc73536475c11981a1c52531f2ff7';
$params['token'] = '8a668d6c94166df201337dbb272f66cf';
$params['mobile'] = $UserNumber;
$params['content'] = $MessageContent;
$post_url = http_build_query($params);

Loading…
Cancel
Save