|
@@ -80,7 +80,7 @@ class ShouhuanCommand
|
|
|
if ('send' == $config['kind']) {
|
|
|
$content = $config['content'];
|
|
|
$useconmmand = $content['command'];
|
|
|
- $content_custom = isset($content['content_custom']) ? $content['content_custom'] : false;
|
|
|
+ $content_custom = isset($config['content_custom']) ? $config['content_custom'] : false;
|
|
|
$need_back = $config['need_back'];
|
|
|
if ($content_custom) {
|
|
|
$functionname = 'get' . $command . "Commandinfo";
|
|
@@ -348,7 +348,7 @@ class ShouhuanCommand
|
|
|
],
|
|
|
'PHL' => [
|
|
|
'content' => [
|
|
|
- 'command' => 'PEDO',
|
|
|
+ 'command' => 'PHL',
|
|
|
],
|
|
|
'kind' => 'send',
|
|
|
'content_custom' => true,
|
|
@@ -510,9 +510,6 @@ class ShouhuanCommand
|
|
|
if (50 < count($param)) {
|
|
|
throw new \Exception("PHL参数错误");
|
|
|
}
|
|
|
- if (0 != count($param) % 2) {
|
|
|
- throw new \Exception("PHL参数长度错误");
|
|
|
- }
|
|
|
$usedata = [];
|
|
|
foreach ($param as $key => $value) {
|
|
|
$telno = $value['telno'];
|