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
29000ca7
Commit
29000ca7
authored
Jul 29, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d697f1a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
StoreFee.php
application/api_broker/controller/StoreFee.php
+4
-0
StoreFeeValidate.php
application/api_broker/validate/StoreFeeValidate.php
+1
-1
No files found.
application/api_broker/controller/StoreFee.php
View file @
29000ca7
...
...
@@ -61,6 +61,7 @@ class StoreFee extends Basic
if
(
true
!==
$checkResult
)
{
return
$this
->
response
(
"101"
,
$checkResult
);
}
$type
=
$params
[
"type"
];
$fee_item
=
$params
[
"fee_item"
];
$total_fee
=
$params
[
"total_fee"
];
...
...
@@ -73,6 +74,9 @@ class StoreFee extends Basic
$bank
=
$params
[
"bank"
];
$card_no
=
$params
[
"card_no"
];
$count_time
=
$params
[
"count_time"
];
if
((
$type
==
2
||
$type
==
3
)
&&
!
$office_id
){
return
$this
->
response
(
"101"
,
"办公室必传"
);
}
$img_arr
=
isset
(
$params
[
"img_arr"
])
?
json_decode
(
$params
[
"img_arr"
],
true
)
:
""
;
if
(
!
$img_arr
)
{
return
$this
->
response
(
"101"
,
"请上传图片"
);
...
...
application/api_broker/validate/StoreFeeValidate.php
View file @
29000ca7
...
...
@@ -45,7 +45,7 @@ class StoreFeeValidate extends Validate
];
protected
$scene
=
[
'addApplyFor'
=>
[
'type'
,
'fee_item'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'office_id'
,
'assume_fee'
,
'site_id'
],
'addApplyFor'
=>
[
'type'
,
'fee_item'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
],
'pcAddApplyFor'
=>
[
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
],
'pcEditApplyFor'
=>
[
'id'
,
'type'
,
'total_fee'
,
'agent_id'
,
'store_id'
,
'assume_fee'
,
'site_id'
]
];
...
...
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