我正在编写一个读取 protected $fillable = [
'name','quantity','unit_cost','discount','tax','sub_total'
];
public function order_items()
{
return $this->hasMany(\App\OrderItem::class);
}
文件然后对其加密的代码。但是,我写入(加密)的文件会跳过空格。读取文件时如何提取空格,以便也可以对其进行加密,并且文件的完整性和字符数保持不变。
.txt