mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-20 09:22:56 +00:00
修改 crmeb.sql中的eb_store_product表中slider_image的类型,进而修复了上传商品多张轮播图后编辑报错
原有eb_store_product表中slider_image的类型为varchar(512),导致上传多张轮播图后,内容长度超过了512,使得字段内容被截取,致使在上传多张轮播图后再点击编辑商品报错(原因是因为json_decode的结果为null)
This commit is contained in:
parent
ae83bae74c
commit
5b52a0aa77
@ -614,7 +614,7 @@ CREATE TABLE `eb_store_product` (
|
||||
`id` mediumint(11) NOT NULL AUTO_INCREMENT COMMENT '商品id',
|
||||
`mer_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)',
|
||||
`image` varchar(128) NOT NULL COMMENT '商品图片',
|
||||
`slider_image` varchar(512) NOT NULL COMMENT '轮播图',
|
||||
`slider_image` text NOT NULL COMMENT '轮播图',
|
||||
`store_name` varchar(128) NOT NULL COMMENT '商品名称',
|
||||
`store_info` varchar(256) NOT NULL COMMENT '商品简介',
|
||||
`keyword` varchar(256) NOT NULL COMMENT '关键字',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user