Commit 4e432c51 by 朱继来

调整

parent 42f563aa
Showing with 2 additions and 2 deletions
......@@ -383,8 +383,8 @@ class QuoteModel extends Model
if ($res) {
$classInfo = $res[$params['spu_name']."#".strtoupper($params["brand_name"])];
$quote_info['class_id2'] = $classInfo['class_id2'];
$quote_info['class_id2_name'] = $classInfo['class_id2_name'];
$quote_info['class_id2'] = isset($classInfo['class_id2']) ? $classInfo['class_id2'] : 0;
$quote_info['class_id2_name'] = isset($classInfo['class_id2_name']) ? $classInfo['class_id2_name'] : '';
}
$quote_info['status'] = 1; // 已报价
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment