Commit 547d0e34 authored by 蒋林's avatar 蒋林

格兰仕-公告查询接口

parent b2010c9c
......@@ -93,8 +93,8 @@ class Galanz extends BaseController
'appid' => '10001',
'account' => self::$testu,
'pwd' => self::$testp,
'dateBegin' => "20170109",
'dateEnd' => '20170215',
'dateBegin' => "",
'dateEnd' => '',
'noticeType' => '',
'title' => '',
'status' => '2',
......@@ -108,7 +108,7 @@ class Galanz extends BaseController
$url = self::$apiUrl . "api/galanz/noticeRead";
$result = curl_post($url, $values);
//$result['data'] = json_decode($result['data'], true);
$result['data'] = json_decode($result['data'], true);
$this->show($result);
}
......
......@@ -119,8 +119,8 @@ class SourceGalanz extends Source
'__LASTFOCUS' => '',
'__VIEWSTATE' => '',
'ctl00$hidPageSiteMapTitle' => '公告阅读及回复',
'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$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$ddlNoticeType' => $condition['noticeType'] ? $condition['noticeType'] : '-1',
'ctl00$ContentQuery$btnQuery' => '查询',
'ctl00$ContentQuery$txtTitle' => $condition['title'] ? $condition['title'] : '',
......
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