This commit is contained in:
“wanyongkang”
2024-10-10 15:17:23 +08:00
parent 0c3cad4a6d
commit e7d6e69d75

View File

@@ -712,7 +712,6 @@ class UserFollow extends Controller
\result($product_account_model->getUserAccount($id, $index)); \result($product_account_model->getUserAccount($id, $index));
} }
//拨打电话进行维护
public function hujiao() { public function hujiao() {
$data = json_decode(file_get_contents("php://input"), true); $data = json_decode(file_get_contents("php://input"), true);
$phone = $data['phone']; $phone = $data['phone'];
@@ -727,7 +726,7 @@ class UserFollow extends Controller
$caller = $callers[$this->userinfo['OperaterID']]; $caller = $callers[$this->userinfo['OperaterID']];
$callee = $phone; $callee = $phone;
$serviceNumber = '02361933764'; $serviceNumber = '';
$header = [ $header = [
'Content-Type:application/json', 'Content-Type:application/json',
@@ -739,7 +738,6 @@ class UserFollow extends Controller
$param = [ $param = [
'caller' =>$caller, 'caller' =>$caller,
'callee'=>$callee, 'callee'=>$callee,
'serviceNumber'=>$serviceNumber,
'callBackUrl' =>"https://php-api.juip.com/api/hujiao/callback" 'callBackUrl' =>"https://php-api.juip.com/api/hujiao/callback"
]; ];