Commit d463a6a5 authored by 蒋林's avatar 蒋林

孙宁-短信请求频率修改

parent 0dd91d6c
...@@ -39,19 +39,20 @@ class Suning extends BaseController ...@@ -39,19 +39,20 @@ class Suning extends BaseController
public function test() public function test()
{ {
$sobj = $this->sourceObj(); $sobj = $this->sourceObj();
$post = [ // $post = [
'mark' => '1', // 'mark' => '1',
'siteBp' => '869218', // 'siteBp' => '869218',
'objectIds' => '', // 'objectIds' => '',
'phone' => '', // 'phone' => '',
'startTime' => '2016-11-09', // 'startTime' => '2016-11-09',
'endTime' => '2016-11-29', // 'endTime' => '2016-11-29',
'processTypeName' => '', // 'processTypeName' => '',
'processType' => '', // 'processType' => '',
'orderStatusName' => '', // 'orderStatusName' => '',
'orderStatus' => '', // 'orderStatus' => '',
]; // ];
$result = $sobj->SelectServiceOrder($post); // $result = $sobj->SelectServiceOrder($post);
$result = $sobj->SelectServiceOrderCondition();
var_dump($result); var_dump($result);
} }
......
...@@ -559,7 +559,7 @@ class SourceSuning extends Source ...@@ -559,7 +559,7 @@ class SourceSuning extends Source
return false; return false;
} }
if (empty($result) || $result['st'] > 15) { if (empty($result) || $result['st'] > 45) {
$num++; $num++;
sleep(5); sleep(5);
return $this->GetPhoneCode($num); return $this->GetPhoneCode($num);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment