Commit b60b6c0a by 朱继来

Merge branch 'master' into development

parents d6429427 4cd5e5d4
Showing with 3 additions and 3 deletions
......@@ -213,9 +213,7 @@ Class AddOrderController extends Controller
$address->district_val = $this->getAddress($address->district);
$info['address'] = $address;
$sale_id = $request->user->userId;
$info['sale_id'] = $sale_id;
$info['sale_id'] = $request->user->userId;
// 当前登录用户名称
$userInfo = DB::table('user_info')->where('userId', $sale_id)->select('name')->first();
......@@ -228,6 +226,8 @@ Class AddOrderController extends Controller
$user = DB::connection('order')->table('lie_user_main')->where('user_id', $intracode->user_id)->select('mobile')->first();
$info['mobile'] = $user ? $user->mobile : '';
} else {
$info['mobile'] = '';
}
return view('addOffline', $info);
......
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