diff --git a/app/address/controller/PlaceController.php b/app/address/controller/PlaceController.php
index fbe7fc2..24eacd5 100644
--- a/app/address/controller/PlaceController.php
+++ b/app/address/controller/PlaceController.php
@@ -44,7 +44,6 @@ class PlaceController extends HomeBaseController
             $post['county'] = $arr2[2];
             unset($post['code']);
             unset($post['label']);
-            $post['uid'] = session('user.id');
             if (Db::name('zj_user_place')->insert($post)) {
                 echo json_encode(['msg' => 'insert ok', 'code' => 20000]);
                 exit();
@@ -99,7 +98,6 @@ class PlaceController extends HomeBaseController
             $post['county'] = $arr2[2];
             unset($post['code']);
             unset($post['label']);
-            $post['uid'] = session('user.id');
             if (Db::name('zj_user_place')->update($post)) {
                 echo json_encode(['msg' => 'edit ok', 'code' => 20000]);
                 exit();
@@ -135,7 +133,7 @@ class PlaceController extends HomeBaseController
     {
         if(request()->isPost()) {
             //默认is_sta=2;
-            Db::name('zj_user_place')->where(['uid' => session('user.id')])->update(['is_sta' => 1]);
+            Db::name('zj_user_place')->where(['uid' => request()->param('uid')])->update(['is_sta' => 1]);
             if (Db::name('zj_user_place')->where(['id' => request()->param('id')])->update(['is_sta' => request()->param('is_sta')])) {
                 echo json_encode(['msg' => 'set def ok', 'code' => 20000]);
                 exit();
diff --git a/app/cart/controller/ZjCartController.php b/app/cart/controller/ZjCartController.php
index 4606155..12e7881 100644
--- a/app/cart/controller/ZjCartController.php
+++ b/app/cart/controller/ZjCartController.php
@@ -174,7 +174,8 @@ class ZjCartController extends HomeBaseController
                 'total_num' => $total_num,
                 'total_price' => $total_price,
                 'caid' => $data[0]['caid'],
-                'js_sdk' => $wx->js_sdk()
+                'js_sdk' => $wx->js_sdk(),
+                'uid' => session('user.id')
             ]);
         }
     }