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
a486f6bf
Commit
a486f6bf
authored
Aug 03, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
转让费处理
parent
985be635
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Shop.php
application/api_broker/controller/Shop.php
+3
-0
GHouses.php
application/model/GHouses.php
+4
-0
No files found.
application/api_broker/controller/Shop.php
View file @
a486f6bf
...
...
@@ -294,6 +294,9 @@ class Shop extends Basic
$result
[
"rent_price"
]
=
$result
[
"rent_price"
]
*
0.01
;
$result
[
"management_fee"
]
=
$result
[
"management_fee"
]
*
0.01
;
$result
[
"slotting_fee"
]
=
$result
[
"slotting_fee"
]
*
0.01
;
if
(
$result
[
"external_slotting_fee"
]
!=
'-1'
)
{
$result
[
"external_slotting_fee"
]
=
$result
[
"external_slotting_fee"
]
*
0.01
;
}
$result
[
"api_path"
]
=
CK_IMG_URL
.
'images/'
;
$param
[
"house_id"
]
=
$params
[
'id'
];
//todo 这里的是否要更改成b端后台上传的类型
...
...
application/model/GHouses.php
View file @
a486f6bf
...
...
@@ -379,6 +379,10 @@ class GHouses extends BaseModel
$params
[
'slotting_fee'
]
=
$params
[
'slotting_fee'
]
*
100
;
//存分
}
if
(
!
empty
(
$params
[
'external_slotting_fee'
]))
{
$params
[
'external_slotting_fee'
]
=
$params
[
'external_slotting_fee'
]
*
100
;
//存分
}
//剩余商铺为0下架
if
(
empty
(
$params
[
'residue_num'
])
||
empty
(
$params
[
'total'
]))
{
$params
[
'status'
]
=
2
;
...
...
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