bufanyun/hotgo

上传附件时sql报错,提示缺少NaiveUI类型

Closed this issue · 0 comments

看了下hg_sys_attachment表里,naive_type字段是必填,但是上传时的sql没有该字段,比如:
INSERT INTO hg_sys_attachment(app_id,member_id,drive,name,kind,mime_type,path,file_url,size,ext,md5,status,created_at,updated_at) VALUES('admin',1,'local','timg.jpg','image','image/jpeg','attachment/2024-05-29/d1lxnrpfcq54wsdbzy.jpg','attachment/2024-05-29/d1lxnrpfcq54wsdbzy.jpg',17134,'jpg','03cc1e4bdf26140a521396f2cef889ea',1,'2024-05-29 15:00:26','2024-05-29 15:00:26')