新增基础数据

This commit is contained in:
2023-03-27 09:00:45 +08:00
parent 72b0517b74
commit fa44ffae3f
4 changed files with 55 additions and 27 deletions
+6 -4
View File
@@ -21,8 +21,11 @@ use Hyperf\Snowflake\Concern\Snowflake;
* @property string $notice_content 内容
* @property int $send_status 发送状态(0:未处理 1:已发送 2:发送失败)
* @property string $send_fail_reason 发送失败原因
* @property int $link_type 链接类型(1:无按钮 2:我的账户 3:联系客服 4:问诊消息 5:多点执业认证 6:协议书
* @property string $notice_params 通知参数(json数据,此字段内容和link_type字段有关联
* @property int $button_type 按钮类型(1:我的账户 2:联系客服 3:查看协议 4:订单详情 5:查看处方
* @property int $link_type 跳转页面类型(1:聊天详情页 2:问诊结束列表页 3:问诊消息列表页 4:我的名片 5:我的简介 6:我的账户 7:我的福利 8:药品订单详情页 9:物流详情 10:问诊订单详情 11:联系客服 12:协议详情 13:处方详情
* @property string $link_params 跳转参数(json
* @property int $show_type 展示类型(1:医生数据)
* @property string $show_params 展示数据(json
* @property \Carbon\Carbon $created_at 创建时间
* @property \Carbon\Carbon $updated_at 修改时间
*/
@@ -38,7 +41,7 @@ class MessageNotice extends Model
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['notice_id', 'user_id', 'user_type', 'notice_type', 'notice_system_type', 'read_status', 'from_name', 'notice_title', 'notice_send_time', 'notice_content', 'send_status', 'send_fail_reason', 'link_type', 'notice_params', 'created_at', 'updated_at'];
protected array $fillable = ['notice_id', 'user_id', 'user_type', 'notice_type', 'notice_system_type', 'read_status', 'from_name', 'notice_title', 'notice_send_time', 'notice_content', 'send_status', 'send_fail_reason', 'button_type', 'link_type', 'link_params', 'show_type', 'show_params', 'created_at', 'updated_at'];
protected string $primaryKey = "message_id";
@@ -107,5 +110,4 @@ class MessageNotice extends Model
return $data;
}
}