Commit 4188efb4 authored by zhuwei's avatar zhuwei Committed by zw

周报日报重写

parent 0ce56c7e
......@@ -38,11 +38,17 @@ class Statement extends Basic
header('Access-Control-Allow-Origin:*');
$params = $this->params;
Log::write($params, 'zhuwei'); //记录日志
/*$params = array(
"agent_id" => 3742,//5739 总监 5740店长
"time_start" => date("Y-m-d", time()),
"time_end" => date("Y-m-d", time()),
);*/
$params = array (
'agent_id' => '5739',
'time_start' => '2018-11-23',
'time_end' => '2018-11-23',
);
if (!isset($params["agent_id"]) || !isset($params["time_start"]) || !isset($params["time_end"])) {
return $this->response("101", "请求参数错误");
......
......@@ -782,7 +782,6 @@ class StatementService
* @param $agent_level
* @param $store_id
* @param $district_id
* @return mixed
*/
public function selectStatementForDistrictWithWeek($agent_id, $agent_level, $store_id, $district_id)
{
......
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