修改签章为线上签章,优化性能

This commit is contained in:
2023-04-19 20:09:22 +08:00
parent b8a8c5d3ee
commit a36bc773e2
13 changed files with 1985 additions and 394 deletions
+3 -1
View File
@@ -18,6 +18,8 @@ use Hyperf\Snowflake\Concern\Snowflake;
* @property string $cert_chain_p7 证书链
* @property string $cert_serial_number 证书序列号
* @property string $ca_pin ca认证pin值
* @property int $is_sign_config 是否已添加签章配置(第一次需申请)
* @property string $sign_config 签章坐标配置
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
*/
@@ -33,7 +35,7 @@ class UserCaCert extends Model
/**
* The attributes that are mass assignable.
*/
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 array $fillable = ['cert_id', 'user_id', 'is_system', 'type', 'cert_base64', 'cert_chain_p7', 'cert_serial_number', 'ca_pin', 'is_sign_config', 'sign_config', 'created_at', 'updated_at'];
protected string $primaryKey = "cert_id";