企业不存在

This commit is contained in:
邓皓元 2019-01-24 16:30:08 +08:00
parent 07b710fc82
commit d75f0ae934

View File

@ -36,8 +36,8 @@ class ProductSync extends Command
throw new \Exception('套餐不存在');
}
if (!$company = $$companies[$value['company']]) {
throw new \Exception('套餐不存在');
if (!$company = $companies[$value['company']]) {
throw new \Exception('企业不存在');
}
$base_price = intval($value['order_account'] * 100) ;