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
676beeb6
Commit
676beeb6
authored
Sep 20, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0a94216a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
StoreFee.php
application/api_broker/controller/StoreFee.php
+1
-1
StoreFeeService.php
application/api_broker/service/StoreFeeService.php
+3
-2
No files found.
application/api_broker/controller/StoreFee.php
View file @
676beeb6
...
@@ -90,7 +90,7 @@ class StoreFee extends Basic
...
@@ -90,7 +90,7 @@ class StoreFee extends Basic
return
$this
->
response
(
"101"
,
"办公室水电费每月只能提交一次"
);
return
$this
->
response
(
"101"
,
"办公室水电费每月只能提交一次"
);
}
}
$is_ok
=
$this
->
service_
->
addApplyFor
(
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
$is_ok
=
$this
->
service_
->
addApplyFor
(
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
$bank
,
$card_no
,
$count_time
,
$img_arr
,
0
,
$office_id
);
$bank
,
$card_no
,
$count_time
,
$img_arr
,
0
,
$office_id
,
$this
->
agentId
);
if
(
$is_ok
>
0
)
{
if
(
$is_ok
>
0
)
{
$push
=
new
PushMessageService
();
$push
=
new
PushMessageService
();
$push
->
recordApplyForFeDistrict
(
$agent_id
,
$this
->
agentId
);
$push
->
recordApplyForFeDistrict
(
$agent_id
,
$this
->
agentId
);
...
...
application/api_broker/service/StoreFeeService.php
View file @
676beeb6
...
@@ -45,15 +45,16 @@ class StoreFeeService
...
@@ -45,15 +45,16 @@ class StoreFeeService
* @param $img_arr
* @param $img_arr
* @param int $id
* @param int $id
* @param int $office_id
* @param int $office_id
* @param int $payee_agent_id
* @return int|string
* @return int|string
* @throws \think\Exception
* @throws \think\Exception
* @throws \think\exception\PDOException
* @throws \think\exception\PDOException
*/
*/
public
function
addApplyFor
(
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
public
function
addApplyFor
(
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
$bank
,
$card_no
,
$count_time
,
$img_arr
,
$id
=
0
,
$office_id
=
0
)
$bank
,
$card_no
,
$count_time
,
$img_arr
,
$id
=
0
,
$office_id
=
0
,
$payee_agent_id
)
{
{
$arr
=
$this
->
applyForFeeBin
(
$id
,
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
$arr
=
$this
->
applyForFeeBin
(
$id
,
$type
,
$fee_item
,
$total_fee
,
$agent_id
,
$store_id
,
$purpose
,
$site_id
,
$card_name
,
$bank
,
$card_no
,
$count_time
,
$office_id
,
0
);
$bank
,
$card_no
,
$count_time
,
$office_id
,
$payee_agent_id
);
if
(
$id
)
{
if
(
$id
)
{
$this
->
applyForFeeModel
->
updateData
(
$arr
,
[
'id'
=>
$id
]);
$this
->
applyForFeeModel
->
updateData
(
$arr
,
[
'id'
=>
$id
]);
$feeId
=
$id
;
$feeId
=
$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