修正ca签章
This commit is contained in:
@@ -13,6 +13,7 @@ use Hyperf\Snowflake\Concern\Snowflake;
|
||||
* @property int $cert_id 主键id
|
||||
* @property int $user_id 用户id(系统证书时为null)
|
||||
* @property int $is_system 是否系统证书(0:否 1:是)
|
||||
* @property int $type 证书类型(1:线下 2:线上)
|
||||
* @property string $cert_base64 签名值证书
|
||||
* @property string $cert_chain_p7 证书链
|
||||
* @property string $cert_serial_number 证书序列号
|
||||
@@ -32,7 +33,7 @@ class UserCaCert extends Model
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected array $fillable = ['cert_id', 'user_id', 'is_system', 'cert_base64', 'cert_chain_p7', 'cert_serial_number', 'ca_pin', 'created_at', 'updated_at'];
|
||||
protected array $fillable = ['cert_id', 'user_id', 'is_system', 'type', 'cert_base64', 'cert_chain_p7', 'cert_serial_number', 'ca_pin', 'created_at', 'updated_at'];
|
||||
|
||||
protected string $primaryKey = "cert_id";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user