更改下发token主键类型问题

This commit is contained in:
2023-04-08 13:59:10 +08:00
parent 21d483cc14
commit 67429ae31b
10 changed files with 73 additions and 36 deletions
-5
View File
@@ -33,11 +33,6 @@ class BasicWord extends Model
*/
protected array $fillable = ['basics_words_id', 'basics_words_type', 'basics_words_status', 'sort', 'basics_words', 'created_at', 'updated_at'];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['basics_words_id' => 'string', 'basics_words_type' => 'integer', 'basics_words_status' => 'integer', 'sort' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
protected string $primaryKey = "basics_words_id";
/**