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
547d0e34
Commit
547d0e34
authored
Feb 17, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格兰仕-公告查询接口
parent
b2010c9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Galanz.php
application/controllers/test/Galanz.php
+3
-3
SourceGalanz.php
application/libraries/Source/SourceGalanz.php
+2
-2
No files found.
application/controllers/test/Galanz.php
View file @
547d0e34
...
@@ -93,8 +93,8 @@ class Galanz extends BaseController
...
@@ -93,8 +93,8 @@ class Galanz extends BaseController
'appid'
=>
'10001'
,
'appid'
=>
'10001'
,
'account'
=>
self
::
$testu
,
'account'
=>
self
::
$testu
,
'pwd'
=>
self
::
$testp
,
'pwd'
=>
self
::
$testp
,
'dateBegin'
=>
"
20170109
"
,
'dateBegin'
=>
""
,
'dateEnd'
=>
'
20170215
'
,
'dateEnd'
=>
''
,
'noticeType'
=>
''
,
'noticeType'
=>
''
,
'title'
=>
''
,
'title'
=>
''
,
'status'
=>
'2'
,
'status'
=>
'2'
,
...
@@ -108,7 +108,7 @@ class Galanz extends BaseController
...
@@ -108,7 +108,7 @@ class Galanz extends BaseController
$url
=
self
::
$apiUrl
.
"api/galanz/noticeRead"
;
$url
=
self
::
$apiUrl
.
"api/galanz/noticeRead"
;
$result
=
curl_post
(
$url
,
$values
);
$result
=
curl_post
(
$url
,
$values
);
//
$result['data'] = json_decode($result['data'], true);
$result
[
'data'
]
=
json_decode
(
$result
[
'data'
],
true
);
$this
->
show
(
$result
);
$this
->
show
(
$result
);
}
}
...
...
application/libraries/Source/SourceGalanz.php
View file @
547d0e34
...
@@ -119,8 +119,8 @@ class SourceGalanz extends Source
...
@@ -119,8 +119,8 @@ class SourceGalanz extends Source
'__LASTFOCUS'
=>
''
,
'__LASTFOCUS'
=>
''
,
'__VIEWSTATE'
=>
''
,
'__VIEWSTATE'
=>
''
,
'ctl00$hidPageSiteMapTitle'
=>
'公告阅读及回复'
,
'ctl00$hidPageSiteMapTitle'
=>
'公告阅读及回复'
,
'ctl00$ContentQuery$txtDateBegin'
=>
$condition
[
'dateBegin'
]
?
$condition
[
'dateBegin'
]
:
date
(
'Y/m/d'
,
strtotime
(
"-7 day"
)),
//2017/02/09
'ctl00$ContentQuery$txtDateBegin'
=>
$condition
[
'dateBegin'
]
?
$condition
[
'dateBegin'
]
:
''
,
//
date('Y/m/d', strtotime("-7 day")), //2017/02/09
'ctl00$ContentQuery$txtDateEnd'
=>
$condition
[
'dateEnd'
]
?
$condition
[
'dateEnd'
]
:
date
(
'Y/m/d'
),
//2017/02/16
'ctl00$ContentQuery$txtDateEnd'
=>
$condition
[
'dateEnd'
]
?
$condition
[
'dateEnd'
]
:
''
,
//
date('Y/m/d'), //2017/02/16
'ctl00$ContentQuery$ddlNoticeType'
=>
$condition
[
'noticeType'
]
?
$condition
[
'noticeType'
]
:
'-1'
,
'ctl00$ContentQuery$ddlNoticeType'
=>
$condition
[
'noticeType'
]
?
$condition
[
'noticeType'
]
:
'-1'
,
'ctl00$ContentQuery$btnQuery'
=>
'查询'
,
'ctl00$ContentQuery$btnQuery'
=>
'查询'
,
'ctl00$ContentQuery$txtTitle'
=>
$condition
[
'title'
]
?
$condition
[
'title'
]
:
''
,
'ctl00$ContentQuery$txtTitle'
=>
$condition
[
'title'
]
?
$condition
[
'title'
]
:
''
,
...
...
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