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
dd3fa044
Commit
dd3fa044
authored
May 19, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下载失败数据
parent
bc383099
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
Tool.php
app/Http/Controllers/Tool.php
+5
-1
api.php
routes/api.php
+1
-1
No files found.
app/Http/Controllers/Tool.php
View file @
dd3fa044
...
...
@@ -7,7 +7,11 @@ use Illuminate\Support\Facades\Route; */
trait
Tool
{
public
function
getAllowLoginUser
(){
return
[
'user_name'
=>
'yxl001'
,
'user_sn'
=>
'SYSUSER|9da548a2e392a679eb274a0b2abeb627'
,
'parent_sn'
=>
'ljs'
];
//return ['user_name'=>'yxl001','user_sn'=>'SYSUSER|9da548a2e392a679eb274a0b2abeb627','parent_sn'=>'ljs'];
return
[
[
'user_name'
=>
'yxl001'
,
'user_sn'
=>
'SYSUSER|9da548a2e392a679eb274a0b2abeb627'
,
'parent_sn'
=>
'ljs'
],
[
'user_name'
=>
'yxl002'
,
'user_sn'
=>
'SYSUSER|a15f5d51a8b0156d14f2d8ad2d39e111'
,
'parent_sn'
=>
'ljs'
],
];
}
public
function
getAllowProjects
(
$style
=
0
){
$projectInfo
=
[[
'sn'
=>
'projects|a3a4259352c8e964ad6ea6c5ee8a7208'
,
'name'
=>
'liuy-转人工测试'
],[
'sn'
=>
'projects|17a71649f886bce050d637e86a3c85e8'
,
'name'
=>
'小贷-测试林俊生'
]];
...
...
routes/api.php
View file @
dd3fa044
...
...
@@ -45,4 +45,4 @@ Route::group(['middleware' => 'check.apikey','namespace'=>'strategy'], function
Route
::
get
(
'strategy/downloadModel'
,
'strategy\StrategySetController@downloadModel'
)
->
name
(
'strategy.downloadModel'
);
//导出模板
Route
::
get
(
'strategy/downloadFailExcel'
,
'strategy\
s
trategySetController@downloadFailExcel'
)
->
name
(
'strategy.downloadFailExcel'
);
//下载失败导入excel数据
Route
::
get
(
'strategy/downloadFailExcel'
,
'strategy\
S
trategySetController@downloadFailExcel'
)
->
name
(
'strategy.downloadFailExcel'
);
//下载失败导入excel数据
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