*
Showing
3 changed files
with
29 additions
and
1 deletions
| ... | @@ -8,6 +8,7 @@ use App\Helper\Identifier; | ... | @@ -8,6 +8,7 @@ use App\Helper\Identifier; |
| 8 | use App\Helper\Response; | 8 | use App\Helper\Response; |
| 9 | use App\Helper\Snowflake; | 9 | use App\Helper\Snowflake; |
| 10 | use App\Models\Legal\Stakeholder; | 10 | use App\Models\Legal\Stakeholder; |
| 11 | use App\Models\Musician\AppCompany; | ||
| 11 | use Closure; | 12 | use Closure; |
| 12 | use Illuminate\Http\Request; | 13 | use Illuminate\Http\Request; |
| 13 | use Illuminate\Support\Facades\Log; | 14 | use Illuminate\Support\Facades\Log; | ... | ... |
app/Models/Musician/AppCompany.php
0 → 100644
| 1 | <?php | ||
| 2 | |||
| 3 | namespace App\Models\Musician; | ||
| 4 | |||
| 5 | use App\Models\BaseModel; | ||
| 6 | use Illuminate\Database\Eloquent\Factories\HasFactory; | ||
| 7 | |||
| 8 | /** | ||
| 9 | * Class AppCompany | ||
| 10 | * @package App\Models\Musician | ||
| 11 | */ | ||
| 12 | class AppCompany extends BaseModel | ||
| 13 | { | ||
| 14 | use HasFactory; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * @var string | ||
| 18 | */ | ||
| 19 | protected $connection = 'musician'; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @var string | ||
| 23 | */ | ||
| 24 | protected $table = 'app_company'; | ||
| 25 | |||
| 26 | |||
| 27 | } |
| ... | @@ -30,7 +30,7 @@ class IssueService extends Service | ... | @@ -30,7 +30,7 @@ class IssueService extends Service |
| 30 | 30 | ||
| 31 | $params['data'] = $this->request->all(); | 31 | $params['data'] = $this->request->all(); |
| 32 | $params['ext'] = [ | 32 | $params['ext'] = [ |
| 33 | 'user_id' => $this->identifier->user_id, | 33 | 'user_id' => $this->identifier->company_id, |
| 34 | 'stakeholder_ids' => $this->stakeholder_ids, | 34 | 'stakeholder_ids' => $this->stakeholder_ids, |
| 35 | ]; | 35 | ]; |
| 36 | 36 | ... | ... |
-
Please register or sign in to post a comment