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
82a8869b
Commit
82a8869b
authored
Sep 02, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0100f759
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
AmercementService.php
application/index/service/AmercementService.php
+17
-17
route.php
application/route.php
+1
-0
No files found.
application/index/service/AmercementService.php
View file @
82a8869b
...
@@ -32,22 +32,22 @@ class AmercementService
...
@@ -32,22 +32,22 @@ class AmercementService
public
function
getAmercementType
()
public
function
getAmercementType
()
{
{
return
[
return
[
'1'
=>
'班主任早会监督'
,
[
'id'
=>
'1'
,
'name'
=>
'班主任早会监督'
]
,
'2'
=>
'晚会表监督'
,
[
'id'
=>
'2'
,
'name'
=>
'晚会表监督'
]
,
'3'
=>
'学习视频监督'
,
[
'id'
=>
'3'
,
'name'
=>
'学习视频监督'
]
,
'4'
=>
'投诉'
,
[
'id'
=>
'4'
,
'name'
=>
'投诉'
]
,
'5'
=>
'日报'
,
[
'id'
=>
'5'
,
'name'
=>
'日报'
]
,
'6'
=>
'房源上架'
,
[
'id'
=>
'6'
,
'name'
=>
'房源上架'
]
,
'7'
=>
'视频审核'
,
[
'id'
=>
'7'
,
'name'
=>
'视频审核'
]
,
'8'
=>
'商学院评论'
,
[
'id'
=>
'8'
,
'name'
=>
'商学院评论'
]
,
'9'
=>
'弟子班自律'
,
[
'id'
=>
'9'
,
'name'
=>
'弟子班自律'
]
,
'10'
=>
'弟子班心得评论'
,
[
'id'
=>
'10'
,
'name'
=>
'弟子班心得评论'
]
,
'11'
=>
'将帅赢心得评论'
,
[
'id'
=>
'11'
,
'name'
=>
'将帅赢心得评论'
]
,
'12'
=>
'各项会议处罚机制'
,
[
'id'
=>
'12'
,
'name'
=>
'各项会议处罚机制'
]
,
'13'
=>
'五星好评'
,
[
'id'
=>
'13'
,
'name'
=>
'五星好评'
]
,
'14'
=>
'投诉暂扣'
,
[
'id'
=>
'14'
,
'name'
=>
'投诉暂扣'
]
,
'15'
=>
'独家协议'
,
[
'id'
=>
'15'
,
'name'
=>
'独家协议'
]
,
'16'
=>
'其他处罚'
,
[
'id'
=>
'16'
,
'name'
=>
'其他处罚'
]
,
];
];
}
}
...
@@ -61,7 +61,7 @@ class AmercementService
...
@@ -61,7 +61,7 @@ class AmercementService
public
function
addAmercement
(
$params
,
$submit_agent_id
)
public
function
addAmercement
(
$params
,
$submit_agent_id
)
{
{
$params_
[
'status'
]
=
0
;
//'状态 0待支付 1已支付 2已取消'
$params_
[
'status'
]
=
0
;
//'状态 0待支付 1已支付 2已取消'
$params_
[
'type'
]
=
$params
[
'type'
];
//'罚款类型
0总经理日报及施董批复 1班主任早会监督 2晚会表监督 3学习视频监督 4投诉 5日报 6房源上架 7视频审核 8商学院评论 9弟子班自律 10弟子班心得评论 11将帅赢心得评论 12各项会议处罚机制 13五星好评 14投诉暂扣 15独家协议 16视频审核 17其他处罚
$params_
[
'type'
]
=
$params
[
'type'
];
//'罚款类型
$params_
[
'money'
]
=
$params
[
'money'
];
//罚款金额
$params_
[
'money'
]
=
$params
[
'money'
];
//罚款金额
$params_
[
'submit_agent_id'
]
=
$submit_agent_id
;
//提交人
$params_
[
'submit_agent_id'
]
=
$submit_agent_id
;
//提交人
$params_
[
'agent_id'
]
=
$params
[
'agent_id'
];
//被罚款人
$params_
[
'agent_id'
]
=
$params
[
'agent_id'
];
//被罚款人
...
...
application/route.php
View file @
82a8869b
...
@@ -1076,6 +1076,7 @@ Route::group('broker', [
...
@@ -1076,6 +1076,7 @@ Route::group('broker', [
'getUserLookShopList'
=>
[
'api_broker/Shop/getUserLookShopList'
,
[
'method'
=>
'GET'
]],
//获取客户浏览商铺数据
'getUserLookShopList'
=>
[
'api_broker/Shop/getUserLookShopList'
,
[
'method'
=>
'GET'
]],
//获取客户浏览商铺数据
'addAmercement'
=>
[
'api_broker/Amercement/addAmercement'
,
[
'method'
=>
'GET|POST'
]],
'addAmercement'
=>
[
'api_broker/Amercement/addAmercement'
,
[
'method'
=>
'GET|POST'
]],
'getAmercementType'
=>
[
'api_broker/Amercement/getAmercementType'
,
[
'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