项目相关优化
This commit is contained in:
@@ -62,15 +62,6 @@ class ProjectModel extends BaseModel
|
||||
return $this->belongsToMany(FrameworkModel::class, 'project_frameworks_relations', 'project_id', 'framework_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* 技术栈关联
|
||||
* @return BelongsToMany
|
||||
*/
|
||||
public function technologyStacks(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(TechnologyStackModel::class, 'project_technology_stacks_relations', 'project_id', 'technology_stacks_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* 功能关联
|
||||
* @return HasMany
|
||||
|
||||
Reference in New Issue
Block a user