|
@@ -757,8 +757,10 @@ class store_goods_onlineControl extends BaseSellerControl {
|
|
|
$tmp_insert['goods_image_sort'] = ($v['default'] == 1) ? 0 : $v['sort'];
|
|
|
$tmp_insert['is_default'] = $v['default'];
|
|
|
|
|
|
- if(isset($tmp_insert['goods_image'] )) {
|
|
|
- $file_sig = md5_file($tmp_insert['goods_image'] );
|
|
|
+ if(isset($tmp_insert['goods_image'] ))
|
|
|
+ {
|
|
|
+ $path = BASE_UPLOAD_PATH . "/shop/store/goods/{$tmp_insert['store_id']}/{$tmp_insert['goods_image']}";
|
|
|
+ $file_sig = md5_file($path);
|
|
|
} else {
|
|
|
$file_sig = '';
|
|
|
}
|