{{wikiTitle}}
积分商品编辑报错,编辑拼团商品报错 trim() expects parameter 1 to be string, array given(v5.6.2)
复制链接
编辑文档
Q:创建好的积分商品编辑显示
trim() expects parameter 1 to be string, array given
修改解决
crmeb/app/adminapi/common.php

Q:积分商品修改后提交显示
Undefined index: add pic
目录crmeb/app/services/product/product/StoreProductServices.php

$attrValue[‘pic’] = isset($attr[‘add_pic’]) ? $attr[‘add_pic’] == 1 ? trim($attrValue[‘pic’]): ‘’:’’;
注意标点符号括号等
评论({{cateWiki.comment_num}})
最新
最早
{{cateWiki.page_view_num}}人看过该文档
评论(0)
最新
最早
262人看过
登录/注册
即可发表评论
{{item.user ? item.user.nickname : ''}}
(自评)
{{item.content}}
搜索结果
为您找到{{wikiCount}}条结果
{{item.page_view_num}}
{{item.like ? item.like.like_num : 0}}
{{item.comment ? item.comment.comment_num : 0}}
位置:
{{path.name}}
{{(i+1) == item.catalogue.path_data.length ? '':'/'}}
