修正返回值bigint被转义问题
This commit is contained in:
@@ -34,7 +34,7 @@ class BasicBank extends Model
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['bank_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
protected array $casts = ['bank_id' => 'string', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
|
||||
protected string $primaryKey = "bank_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user