Commit 2c0af0fd by 朱继来

调整查询省市区

parent 8df827f7
Showing with 1 additions and 1 deletions
......@@ -181,7 +181,7 @@ Class AddOrderController extends Controller
{
$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