修正返回数据问题
This commit is contained in:
parent
0a9ee1740e
commit
0b5ac0a225
@ -46,7 +46,7 @@ class DoctorBankCard extends Model
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*/
|
||||
protected array $casts = ['bank_card_id' => 'integer', 'doctor_id' => 'integer', 'bank_id' => 'integer', 'province_id' => 'integer', 'city_id' => 'integer', 'county_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
protected array $casts = ['bank_card_id' => 'string', 'doctor_id' => 'string', 'bank_id' => 'string', 'province_id' => 'integer', 'city_id' => 'integer', 'county_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
|
||||
|
||||
protected string $primaryKey = "bank_card_id";
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user