修复商品规格列之间重复导致数据混乱

feat/task1-c-wallet
gongfuxiang 2019-01-14 01:13:39 +08:00
parent 92689aedca
commit 5f25707500
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ class GoodsService
}
}
// 规格名称列直接是否存在重复
// 规格名称列之间是否存在重复
$unique_all = array_unique($names_value);
$repeat_names_all = array_diff_assoc($names_value, $unique_all);
if(!empty($repeat_names_all))