mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
兼容已被购买的卡密重复添加的问题
This commit is contained in:
parent
1f53c58865
commit
fcf1fd98ae
@ -90,8 +90,6 @@ class StoreProductAttrServices extends BaseServices
|
||||
];
|
||||
if (!$productVirtual->count(['card_no' => $items['key'], 'card_pwd' => $items['value']])) {
|
||||
$productVirtual->save($data);
|
||||
} else {
|
||||
throw new AdminException(400590, ['key' => $items['key'], 'value' => $items['value']]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user