芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/yeahea.digitalhubbd.com/app/Models/ConfigCyberSource.php
'boolean', ]; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'shop_id', 'merchant_id', 'api_key_id', 'secret', 'sandbox', ]; /** * Setters. */ public function setMerchantIdAttribute($value) { $this->attributes['merchant_id'] = trim($value); } public function setApiKeyIdAttribute($value) { $this->attributes['api_key_id'] = trim($value); } public function setSecretAttribute($value) { $this->attributes['secret'] = trim($value); } public function setSandboxAttribute($value) { $this->attributes['sandbox'] = (bool) $value; } }