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
674cbe54
Commit
674cbe54
authored
Aug 22, 2019
by
clone
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0813-v3.3.7' of
https://gitee.com/zwyjjc/tl_estate
into 0813-v3.3.7
parents
45104813
296ea825
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
Basic.php
application/api/extend/Basic.php
+1
-0
Performance.php
application/api_broker/controller/Performance.php
+8
-0
CostParameter.php
application/index/controller/CostParameter.php
+1
-4
No files found.
application/api/extend/Basic.php
View file @
674cbe54
...
...
@@ -68,6 +68,7 @@ class Basic extends Controller
"api/getVersionNoV2"
,
"api/getMarchInList"
,
"api/addSublet"
,
"api/uploadImg"
,
"api/getSiteListApp"
,
"api/recordCallNumShare"
,
"api/addUserCallAgentV2"
,
...
...
application/api_broker/controller/Performance.php
View file @
674cbe54
...
...
@@ -4,6 +4,7 @@ namespace app\api_broker\controller;
use
app\api_broker\extend\Basic
;
use
app\api_broker\service\PerformanceService
;
use
app\api_broker\service\VipService
;
use
Think\Exception
;
use
think\Log
;
use
think\Request
;
...
...
@@ -57,6 +58,13 @@ class Performance extends Basic
$result
[
"list"
]
=
$list
;
$result
[
"start_time"
]
=
$start_day
;
$result
[
"end_time"
]
=
$end_day
;
$result
[
"is_boss"
]
=
0
;
$vip
=
new
VipService
();
//0:有权限 1:无权限
$vip_house
=
$vip
->
checkRule
(
$this
->
agentId
,
'boss'
);
if
(
$vip_house
==
1
){
$result
[
"is_boss"
]
=
1
;
}
return
$this
->
response
(
"200"
,
"request success"
,
$result
);
}
return
$this
->
response
(
"200"
,
"request null"
);
...
...
application/index/controller/CostParameter.php
View file @
674cbe54
...
...
@@ -621,7 +621,6 @@ class CostParameter extends Basic
return
[
"code"
=>
101
,
"msg"
=>
"门店:
{
$v
[
"store_id"
]
}
不存在办公室,导入失败!"
];
}
}
$this
->
addStoreCost
(
$list
,
$setting_date
);
return
[
"code"
=>
200
,
"msg"
=>
"成功"
];
...
...
@@ -641,16 +640,14 @@ class CostParameter extends Basic
$field
=
'a.id,a.store_name'
;
$store_data_res
=
$this
->
m_store
->
getStoreCostParameter
(
$field
,
$f_params
);
big_log
(
$store_data_res
);
if
(
!
$store_data_res
)
{
if
(
!
$v
[
'store_id'
])
continue
;
$transfer_charge
=
$this
->
getTransferCharge
(
$v
[
'store_id'
],
$setting_date
);
$social_security_fee
=
$this
->
getLastSocialSecurityFee
(
$v
[
'id'
],
$setting_date
);
$v
[
'setting_date'
]
=
$setting_date
;
$v
[
'is_del'
]
=
0
;
$v
[
'transfer_charge'
]
=
$transfer_charge
;
$v
[
'social_security_fee'
]
=
$social_security_fee
;
$this
->
saveStoreData
(
$v
);
}
}
...
...
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