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
d6d9185a
Commit
d6d9185a
authored
May 15, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表新建添加备注
parent
464e7732
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CheckApiKey.php
app/Http/Middleware/CheckApiKey.php
+1
-1
StrategyTask.php
app/Models/StrategyTask.php
+1
-1
No files found.
app/Http/Middleware/CheckApiKey.php
View file @
d6d9185a
...
...
@@ -24,7 +24,7 @@ class CheckApiKey
try
{
//$url=$request->url;
//$api_key=$request->api_key;
$user_sn
=
$request
->
header
(
'user_sn'
)
;
$user_sn
=
$request
->
user_sn
;
//$user_sn=$request->header('user-sn');
$api_key
=
$request
->
header
(
'api-key'
);
//header头里面不能用下划线的参数
if
(
empty
(
$api_key
)
||
empty
(
$user_sn
)){
...
...
app/Models/StrategyTask.php
View file @
d6d9185a
...
...
@@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model;
class
StrategyTask
extends
Model
{
protected
$fillable
=
[
'phone'
,
'call_date'
,
'call_time'
,
'parent_sn'
,
'project_sn'
];
protected
$fillable
=
[
'
strategy_sn'
,
'
phone'
,
'call_date'
,
'call_time'
,
'parent_sn'
,
'project_sn'
];
protected
$table
=
'strategy_task'
;
...
...
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