Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
89ab43e4
...
89ab43e4311034ffa76bea6793ef5aecc2eb8e28
authored
2022-07-13 17:13:20 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
*
1 parent
852d33ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletions
app/Http/Middleware/AuthIdentifier.php
app/Models/Musician/AppCompany.php
app/Services/IssueService.php
app/Http/Middleware/AuthIdentifier.php
View file @
89ab43e
...
...
@@ -8,6 +8,7 @@ use App\Helper\Identifier;
use
App\Helper\Response
;
use
App\Helper\Snowflake
;
use
App\Models\Legal\Stakeholder
;
use
App\Models\Musician\AppCompany
;
use
Closure
;
use
Illuminate\Http\Request
;
use
Illuminate\Support\Facades\Log
;
...
...
app/Models/Musician/AppCompany.php
0 → 100644
View file @
89ab43e
<?php
namespace
App\Models\Musician
;
use
App\Models\BaseModel
;
use
Illuminate\Database\Eloquent\Factories\HasFactory
;
/**
* Class AppCompany
* @package App\Models\Musician
*/
class
AppCompany
extends
BaseModel
{
use
HasFactory
;
/**
* @var string
*/
protected
$connection
=
'musician'
;
/**
* @var string
*/
protected
$table
=
'app_company'
;
}
app/Services/IssueService.php
View file @
89ab43e
...
...
@@ -30,7 +30,7 @@ class IssueService extends Service
$params
[
'data'
]
=
$this
->
request
->
all
();
$params
[
'ext'
]
=
[
'user_id'
=>
$this
->
identifier
->
user
_id
,
'user_id'
=>
$this
->
identifier
->
company
_id
,
'stakeholder_ids'
=>
$this
->
stakeholder_ids
,
];
...
...
Please
register
or
sign in
to post a comment