Commit e88e7afe authored by zw's avatar zw

财务日报

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