|
|
@@ -58,18 +58,20 @@ class ExpressController extends BaseController
|
|
|
'address'=>$shopInfo['address']??'',
|
|
|
'address_detail'=>$shopInfo['floor']??'',
|
|
|
'phone'=>$shopInfo['telephone']??'',
|
|
|
- 'lng'=>$shopInfo['long']??'',
|
|
|
- 'lat'=>$shopInfo['lat']??'',
|
|
|
+ 'lng'=>(float)$shopInfo['long']??'',
|
|
|
+ 'lat'=>(float)$shopInfo['lat']??'',
|
|
|
'coordinate_type'=>0,
|
|
|
];
|
|
|
+
|
|
|
$receiver = [
|
|
|
'name'=>$customInfo['name'],
|
|
|
'city'=>$post['receiveCity']??'',
|
|
|
'address'=>$post['receiveAddress']??'',
|
|
|
'address_detail'=>$post['receiveFloor']??'',
|
|
|
- 'phone'=>$customInfo['mobile']??'',
|
|
|
- 'lng'=>$post['receiveLong']??'118.134343',
|
|
|
- 'lat'=>$post['receiveLat']??'24.491566',
|
|
|
+ //'phone'=>$customInfo['mobile']??'199121223333',
|
|
|
+ 'phone'=>'18030142050',
|
|
|
+ 'lng'=>(float)$post['receiveLong']??'118.134343',
|
|
|
+ 'lat'=>(float)$post['receiveLat']??'24.491566',
|
|
|
'coordinate_type'=>0,
|
|
|
];
|
|
|
$cargo = [
|