Commit e88e7afe authored by zw's avatar zw

财务日报

parent 73ead1f1
<?php <?php
namespace app\app_broker\controller; namespace app\api_broker\controller;
use app\api_broker\extend\Basic; use app\api_broker\extend\Basic;
use app\app_broker\service\DailyPaperService; use app\api_broker\service\DailyPaperService;
use think\Request; use think\Request;
/** /**
...@@ -36,7 +36,7 @@ class DailyPaper extends Basic ...@@ -36,7 +36,7 @@ class DailyPaper extends Basic
"is_store" => 0,//身份是否是店长,财务显示不一样 0店长 1财务 "is_store" => 0,//身份是否是店长,财务显示不一样 0店长 1财务
"daily_data" => "2018-12-01" "daily_data" => "2018-12-01"
); );
$this->agentId = 1;
if(!isset($params["store_id"]) || !isset($params["is_store"]) || !isset($params["daily_data"])){ if(!isset($params["store_id"]) || !isset($params["is_store"]) || !isset($params["daily_data"])){
return $this->response("101","请求参数错误"); return $this->response("101","请求参数错误");
} }
......
<?php <?php
namespace app\app_broker\service; namespace app\api_broker\service;
use app\api_broker\service\VerifyService; use app\api_broker\service\VerifyService;
use app\model\AAgents; use app\model\AAgents;
......
...@@ -737,6 +737,8 @@ Route::group('broker', [ ...@@ -737,6 +737,8 @@ Route::group('broker', [
'getBeForNum' => ['api_broker/PayLog/getBeForNum', ['method' => 'get|post']], 'getBeForNum' => ['api_broker/PayLog/getBeForNum', ['method' => 'get|post']],
'adjustment' => ['api_broker/PayLog/adjustment', ['method' => 'get|post']], 'adjustment' => ['api_broker/PayLog/adjustment', ['method' => 'get|post']],
'dailyDetail' => ['api_broker/DailyPaper/dailyDetail', ['method' => 'get|post']],
]); ]);
//Route::miss('api/index/miss');//处理错误的url //Route::miss('api/index/miss');//处理错误的url
\ No newline at end of file
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