Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 12be361

Browse files
refactor: #72 remove useless code
1 parent 8832a71 commit 12be361

File tree

5 files changed

+2
-235
lines changed

5 files changed

+2
-235
lines changed

‎app/Commands/IssueImportCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class IssueImportCommand extends Command
2121
*/
2222
protected $signature = 'issue:import
2323
{file : 文件(支持格式:csv)}
24-
{--type= : 类型(使用英文),如 DEFECT(缺陷)、REQUIREMENT(需求)、MISSION(任务)、EPIC(史诗)、SUB_TASK(子任务)}
2524
{--coding_token= : CODING 令牌}
2625
{--coding_team_domain= : CODING 团队域名,如 xxx.coding.net 即填写 xxx}
2726
{--coding_project_uri= : CODING 项目标识,如 xxx.coding.net/p/yyy 即填写 yyy}

‎app/Models/Issue.php

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,8 @@
22

33
namespace App\Models;
44

5-
use Illuminate\Database\Eloquent\Factories\HasFactory;
6-
use Illuminate\Database\Eloquent\Model;
7-
8-
class Issue extends Model
5+
class Issue
96
{
10-
use HasFactory;
11-
12-
/**
13-
* The attributes that are mass assignable.
14-
*
15-
* @var array
16-
*/
17-
protected $fillable = [
18-
'type',
19-
'name',
20-
'priority',
21-
];
22-
237
public const PRIORITY_MAP = [
248
'' => '0',
259
'' => '1',

‎composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"ext-json": "*",
2323
"ext-libxml": "*",
2424
"ext-zip": "*",
25-
"illuminate/database": "^8.40",
2625
"illuminate/log": "^8.0",
2726
"laravel-fans/confluence": "^0.1.1",
2827
"laravel-zero/framework": "^8.8",

‎composer.lock

Lines changed: 1 addition & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎config/database.php

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /