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
13d878ea
Commit
13d878ea
authored
Dec 17, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增财务提交
parent
920bfcef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
DailyPaper.php
application/index/controller/DailyPaper.php
+2
-2
route.php
application/route.php
+1
-1
No files found.
application/index/controller/DailyPaper.php
View file @
13d878ea
...
@@ -115,7 +115,7 @@ class DailyPaper extends Basic
...
@@ -115,7 +115,7 @@ class DailyPaper extends Basic
public
function
commitCheck
(){
public
function
commitCheck
(){
$params
=
$this
->
params
;
$params
=
$this
->
params
;
/* $params = array(
/* $params = array(
"daily_id" => 1,
"daily_id" => 1,
//日报id
"agent_id" => 5775,//经纪人id
"agent_id" => 5775,//经纪人id
"agent_name" => "222",//经纪人姓名
"agent_name" => "222",//经纪人姓名
"daily_date" => "2018-12-02",//日报日期
"daily_date" => "2018-12-02",//日报日期
...
@@ -127,7 +127,7 @@ class DailyPaper extends Basic
...
@@ -127,7 +127,7 @@ class DailyPaper extends Basic
"cash" => "666",//现金
"cash" => "666",//现金
"pos" => "777",//pos机
"pos" => "777",//pos机
"other_bank" => "888"//其他,
"other_bank" => "888"//其他,
"remark" => "888"//
其他
,
"remark" => "888"//
备注
,
);*/
);*/
if
(
!
isset
(
$params
[
"daily_id"
])
||
empty
(
$params
[
"agent_id"
])
||
empty
(
$params
[
"agent_name"
])
||
empty
(
$params
[
"daily_date"
])
||
if
(
!
isset
(
$params
[
"daily_id"
])
||
empty
(
$params
[
"agent_id"
])
||
empty
(
$params
[
"agent_name"
])
||
empty
(
$params
[
"daily_date"
])
||
!
isset
(
$params
[
"alipay"
])
||
!
isset
(
$params
[
"tenpay"
])
||
!
isset
(
$params
[
"realty_pay"
])
||
!
isset
(
$params
[
"alipay"
])
||
!
isset
(
$params
[
"tenpay"
])
||
!
isset
(
$params
[
"realty_pay"
])
||
...
...
application/route.php
View file @
13d878ea
...
@@ -395,7 +395,7 @@ Route::group('index', [
...
@@ -395,7 +395,7 @@ Route::group('index', [
'dailyDetail'
=>
[
'index/DailyPaper/dailyDetail'
,
[
'method'
=>
'get|post'
]],
'dailyDetail'
=>
[
'index/DailyPaper/dailyDetail'
,
[
'method'
=>
'get|post'
]],
'addDaily'
=>
[
'index/DailyPaper/addDaily'
,
[
'method'
=>
'get|post'
]],
'addDaily'
=>
[
'index/DailyPaper/addDaily'
,
[
'method'
=>
'get|post'
]],
'
addDailyCheck'
=>
[
'index/DailyPaper/addDaily
Check'
,
[
'method'
=>
'get|post'
]],
'
commitCheck'
=>
[
'index/DailyPaper/commit
Check'
,
[
'method'
=>
'get|post'
]],
]);
]);
...
...
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