z***@aliyun.com
z***@aliyun.com
  • 发布:2024-05-17 11:22
  • 更新:2024-05-17 11:22
  • 阅读:185

数据库验证失败:封面大图类型无效

分类:uniCloud

web端,用uni-admin添加文章,报错“数据库验证失败:封面大图类型无效”。
请教解决方案,谢谢。

以下是clientDB日志:

请求入参: {
"args": {
"command": {
"$db": [
{
"$method": "collection",
"$param": [
"uni-cms-articles"
]
},
{
"$method": "add",
"$param": [
{
"excerpt": "",
"thumbnail": [],
"user_id": "612dca719b33ed000173fcd1",
"category_id": "",
"article_status": 1,
"title": "测试",
"content": {
"ops": [
{
"attributes": {
"underline": true,
"strike": true,
"italic": true,
"color": "#f04142",
"bold": true
},
"insert": "字"
},
{
"insert": "\n"
}
]
},
"publish_date": 1715915227406
}
]
}
]
},
"clientInfo": {
"PLATFORM": "web",
"OS": "windows",
"APPID": "UNID6A04DD",
"DEVICEID": "1715914852523904587",
"scene": 1001,
"appId": "UNID6A04DD",
"appLanguage": "zh-Hans",
"appName": "uni-huode-admin",
"appVersion": "1.0.0",
"appVersionCode": "100",
"browserName": "chrome",
"browserVersion": "90.0.4430.212",
"deviceId": "1715914852523904587",
"deviceModel": "PC",
"deviceOrientation": "portrait",
"devicePixelRatio": 1,
"deviceType": "pc",
"hostLanguage": "zh-CN",
"hostName": "chrome",
"hostTheme": "light",
"hostVersion": "90.0.4430.212",
"osName": "windows",
"osVersion": "8 x64",
"safeArea": {
"left": 0,
"right": 403,
"top": 0,
"bottom": 676,
"width": 403,
"height": 676
},
"safeAreaInsets": {
"top": 0,
"right": 0,
"bottom": 0,
"left": 0
},
"screenHeight": 900,
"screenWidth": 1600,
"statusBarHeight": 0,
"ua": "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 HBuilderX",
"uniCompileVersion": "4.15",
"uniPlatform": "web",
"uniRuntimeVersion": "4.15",
"windowBottom": 0,
"windowHeight": 676,
"windowTop": 0,
"windowWidth": 403,
"locale": "zh-Hans",
"LOCALE": "zh-Hans"
},
"uniIdToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiI2MTJkY2E3MTliMzNlZDAwMDE3M2ZjZDEiLCJyb2xlIjpbImFkbWluIl0sInBlcm1pc3Npb24iOltdLCJ1bmlJZFZlcnNpb24iOiIxLjAuMTYiLCJpYXQiOjE3MTU5MTQ4OTYsImV4cCI6MTcxNTkyMjA5Nn0.hBydqj58d2SyQiRnXt6CZwBQScCxR0k2kwFJ5HhA_sE"
},
"requestId": "ac1cc3031715915227601169918"
}
[DCloud-clientDB/ac1cc3031715915227601169918/186ms/ERROR] { Error: 数据库验证失败:封面大图类型无效
at parseAdd (evalmachine.<anonymous>:1:287130)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
type: 'Validation',
code: 'VALIDATION_ERROR',
errCode: 'VALIDATION_ERROR',
errMsg: '数据库验证失败:封面大图类型无效' }
请求响应状态: success

2024-05-17 11:22 负责人:无 分享
已邀请:

要回复问题请先登录注册