Commit d463a6a5 authored by 蒋林's avatar 蒋林

孙宁-短信请求频率修改

parent 0dd91d6c
......@@ -39,19 +39,20 @@ class Suning extends BaseController
public function test()
{
$sobj = $this->sourceObj();
$post = [
'mark' => '1',
'siteBp' => '869218',
'objectIds' => '',
'phone' => '',
'startTime' => '2016-11-09',
'endTime' => '2016-11-29',
'processTypeName' => '',
'processType' => '',
'orderStatusName' => '',
'orderStatus' => '',
];
$result = $sobj->SelectServiceOrder($post);
// $post = [
// 'mark' => '1',
// 'siteBp' => '869218',
// 'objectIds' => '',
// 'phone' => '',
// 'startTime' => '2016-11-09',
// 'endTime' => '2016-11-29',
// 'processTypeName' => '',
// 'processType' => '',
// 'orderStatusName' => '',
// 'orderStatus' => '',
// ];
// $result = $sobj->SelectServiceOrder($post);
$result = $sobj->SelectServiceOrderCondition();
var_dump($result);
}
......
......@@ -559,7 +559,7 @@ class SourceSuning extends Source
return false;
}
if (empty($result) || $result['st'] > 15) {
if (empty($result) || $result['st'] > 45) {
$num++;
sleep(5);
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