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
aebc8e51
Commit
aebc8e51
authored
May 31, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务修改日志
parent
881b12d0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
1 deletion
+42
-1
User.php
application/api_broker/controller/User.php
+26
-1
Finance.php
application/index/controller/Finance.php
+4
-0
finance_update_log.html
application/index/view/finance/finance_update_log.html
+11
-0
route.php
application/route.php
+1
-0
No files found.
application/api_broker/controller/User.php
View file @
aebc8e51
...
...
@@ -50,8 +50,32 @@ class User extends Basic
public
function
searchUser
(){
$params
=
$this
->
params
;
$params
=
array
(
""
"yetai"
=>
"休闲娱乐"
,
"area_start"
=>
45
,
//面积起始范围 room_area2
"area_end"
=>
65
,
//面积结束范围
"money_start"
=>
1000
,
//租金 price2
"money_end"
=>
10000
,
//租金
"start_time"
=>
"2018-05-25"
,
"end_time"
=>
"2018-05-30"
,
"pageNo"
=>
"1"
,
"pageSize"
=>
15
);
$params
=
$this
->
params
;
$field
=
"a.id,a.agent_id,a.title,a.address,a.city,disc,a.disccircles,a.sales,a.yetai,a.room_area,a.room_area2,
a.shangpu_type,a.is_test,a.room_num_left,a.shangpu_tags,a.carefully_chosen,a.price,a.rent_type,b.foreign_name,b.address_detail_c,
b.foreign_advantage"
;
$conditions
=
[];
if
(
empty
(
$params
[
'site_area'
]))
{
return
$this
->
response
(
"101"
,
"请求来源不能为空"
);
}
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
if
(
isset
(
$params
[
'title'
]))
{
$conditions
[
'b.foreign_name'
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
'title'
])
.
"%"
);
}
}
}
\ No newline at end of file
application/index/controller/Finance.php
View file @
aebc8e51
...
...
@@ -1060,4 +1060,8 @@ class Finance extends Basic
return
$this
->
response
(
$code
,
$msg
);
}
public
function
financeUpdateLog
(){
return
view
(
'finance/finance_update_log'
);
}
}
application/index/view/finance/finance_update_log.html
0 → 100644
View file @
aebc8e51
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
111111
</body>
</html>
\ No newline at end of file
application/route.php
View file @
aebc8e51
...
...
@@ -232,6 +232,7 @@ Route::group('index', [
'checkOver'
=>
[
'index/Finance/checkOver'
,
[
'method'
=>
'POST'
]
],
//财务结单
'getTaxesById'
=>
[
'index/Finance/getTaxesById'
,
[
'method'
=>
'POST|GET'
]
],
//财务结单
'financeUpdateLog'
=>
[
'index/Finance/financeUpdateLog'
,
[
'method'
=>
'POST|GET'
]
],
//财务结单
]);
...
...
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