Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
yinxiaoling
aic_duty_strategy
Commits
fa747f26
Commit
fa747f26
authored
May 22, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线上环境固定数据
parent
f7d82238
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
Tool.php
app/Http/Controllers/Tool.php
+17
-3
No files found.
app/Http/Controllers/Tool.php
View file @
fa747f26
...
...
@@ -11,13 +11,17 @@ trait Tool
if
(
empty
(
$filedValue
)){
return
false
;
}
/
/$allowLoginUser = ['yxl001','yxl002'];
/
*
$loginUserInfo = [
['user_name'=>'yxl001','user_sn'=>'SYSUSER|9da548a2e392a679eb274a0b2abeb627','parent_sn'=>'ljs'],
['user_name'=>'yxl002','user_sn'=>'SYSUSER|a15f5d51a8b0156d14f2d8ad2d39e111','parent_sn'=>'ljs'],
['user_name'=>'yxl003','user_sn'=>'SYSUSER|bb25ff86b38bdac649494b690a655ed6','parent_sn'=>'ljs'],
['user_name'=>'yxl004','user_sn'=>'SYSUSER|da1452dd4bfa9371372b1f665f267540','parent_sn'=>'ljs'],
];
*/
$loginUserInfo
=
[
[
'user_name'
=>
'hz900718001'
,
'user_sn'
=>
'SYSUSER|b6f3e7dfeccb7c455d28674943d42b90'
,
'parent_sn'
=>
'hz900718'
]
];
foreach
(
$loginUserInfo
as
$k
=>
$v
){
if
(
$v
[
$filed
]
==
$filedValue
){
...
...
@@ -27,7 +31,16 @@ trait Tool
return
false
;
}
public
function
getAllowProjects
(
$style
=
0
){
$projectInfo
=
[[
'sn'
=>
'projects|a3a4259352c8e964ad6ea6c5ee8a7208'
,
'name'
=>
'liuy-转人工测试'
],[
'sn'
=>
'projects|17a71649f886bce050d637e86a3c85e8'
,
'name'
=>
'小贷-测试林俊生'
]];
//$projectInfo = [['sn'=>'projects|a3a4259352c8e964ad6ea6c5ee8a7208','name'=>'liuy-转人工测试'],['sn'=>'projects|17a71649f886bce050d637e86a3c85e8','name'=>'小贷-测试林俊生']];
$projectInfo
=
[
[
'sn'
=>
'project|8a693306a9ef4d44e09231c90b9859b8'
,
'name'
=>
'杭州房建公寓段首次提醒'
],
[
'sn'
=>
'project|5b85293a1ae0623d727745f6a68f4f74'
,
'name'
=>
'杭州房建公寓段再次提醒'
],
[
'sn'
=>
'projects|c40931516b75aaa8b4a14a1b207aec99'
,
'name'
=>
'调度中心巡查提醒'
]
];
if
(
$style
==
1
){
$projectArr
=
[];
foreach
(
$projectInfo
as
$k
=>
$v
){
...
...
@@ -39,7 +52,8 @@ trait Tool
}
}
public
function
getAllowCallNumber
(){
return
[
900002
];
//return [900002];
return
[
900718
];
}
...
...
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