修复删除记录时传递的skn为空的bug
Code Review By Rock Zhang
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -364,7 +364,7 @@ class UserModel | @@ -364,7 +364,7 @@ class UserModel | ||
364 | 364 | ||
365 | $record = array(); | 365 | $record = array(); |
366 | $record['product_name'] = $val['product_name']; | 366 | $record['product_name'] = $val['product_name']; |
367 | - $record['product_id'] = $val['product_id']; | 367 | + $record['product_skn'] = $val['product_skn']; |
368 | $record['link'] = Helpers::url('/product/show_' . $val['product_skn'] . '.html'); | 368 | $record['link'] = Helpers::url('/product/show_' . $val['product_skn'] . '.html'); |
369 | $record['image'] = !empty($val['image']) ? Helpers::getImageUrl($val['image'], 447, 596) : ''; | 369 | $record['image'] = !empty($val['image']) ? Helpers::getImageUrl($val['image'], 447, 596) : ''; |
370 | $record['sales_price'] = Helpers::transPrice($val['sales_price']); | 370 | $record['sales_price'] = Helpers::transPrice($val['sales_price']); |
-
Please register or login to post a comment