Commit 418c2db7 by 朱继来

Merge branch 'master' of http://119.23.72.7/zhujilai/Order into zjl_iteration_20181127

parents 62b97170 58884bd1
Showing with 1 additions and 1 deletions
...@@ -181,7 +181,7 @@ Class AddOrderController extends Controller ...@@ -181,7 +181,7 @@ Class AddOrderController extends Controller
{ {
$addr = DB::connection('order')->table('lie_region')->where('region_id', $id)->select('region_name')->first(); $addr = DB::connection('order')->table('lie_region')->where('region_id', $id)->select('region_name')->first();
return $addr->region_name; return $addr ? $addr->region_name : '未匹配到ID:'.$id;
} }
// 新增自营线下订单 // 新增自营线下订单
......
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