Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
weixiuhui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
蒋林
weixiuhui
Commits
d463a6a5
Commit
d463a6a5
authored
Jan 13, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
孙宁-短信请求频率修改
parent
0dd91d6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
Suning.php
application/controllers/test/Suning.php
+14
-13
SourceSuning.php
application/libraries/Source/SourceSuning.php
+1
-1
No files found.
application/controllers/test/Suning.php
View file @
d463a6a5
...
@@ -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
);
}
}
...
...
application/libraries/Source/SourceSuning.php
View file @
d463a6a5
...
@@ -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'
]
>
1
5
)
{
if
(
empty
(
$result
)
||
$result
[
'st'
]
>
4
5
)
{
$num
++
;
$num
++
;
sleep
(
5
);
sleep
(
5
);
return
$this
->
GetPhoneCode
(
$num
);
return
$this
->
GetPhoneCode
(
$num
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment