Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
e88e7afe
Commit
e88e7afe
authored
Dec 17, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务日报
parent
73ead1f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
DailyPaper.php
application/api_broker/controller/DailyPaper.php
+3
-3
DailyPaperService.php
application/api_broker/service/DailyPaperService.php
+1
-1
route.php
application/route.php
+3
-0
No files found.
application/api_broker/controller/DailyPaper.php
View file @
e88e7afe
<?php
<?php
namespace
app\ap
p
_broker\controller
;
namespace
app\ap
i
_broker\controller
;
use
app\api_broker\extend\Basic
;
use
app\api_broker\extend\Basic
;
use
app\ap
p
_broker\service\DailyPaperService
;
use
app\ap
i
_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"
,
"请求参数错误"
);
}
}
...
...
application/api_broker/service/DailyPaperService.php
View file @
e88e7afe
<?php
<?php
namespace
app\ap
p
_broker\service
;
namespace
app\ap
i
_broker\service
;
use
app\api_broker\service\VerifyService
;
use
app\api_broker\service\VerifyService
;
use
app\model\AAgents
;
use
app\model\AAgents
;
...
...
application/route.php
View file @
e88e7afe
...
@@ -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
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