feat: sku

This commit is contained in:
2025-01-07 17:55:58 +08:00
parent fd18cffeab
commit fd70dfabf5
8 changed files with 295 additions and 21 deletions

View File

@@ -43,4 +43,13 @@ class Cycle extends Model
{
return $this->where('dates',$date)->first();
}
/**
* @param int $id
* @return \Hyperf\Database\Model\Model|Builder|null
*/
public function getInfoById(int $id): \Hyperf\Database\Model\Model|Builder|null
{
return $this->where('id',$id)->first();
}
}