diff --git a/app/admin/controller/store_order/StoreOrderController.php b/app/admin/controller/store_order/StoreOrderController.php index b986750cf..399aed21c 100644 --- a/app/admin/controller/store_order/StoreOrderController.php +++ b/app/admin/controller/store_order/StoreOrderController.php @@ -281,4 +281,15 @@ class StoreOrderController extends BaseAdminController $file_path = (new Beforehand())->export($data, $system_store); return $this->success('导出成功', ['url' => $file_path]); } + + /** + * 导出标签 + */ + public function setSystemStore() + { + $params = $this->request->post(); + StoreOrder::where('id',$params['id'])->update(['store_id'=>$params['store_id']]); + StoreOrderCartInfo::where('oid',$params['id'])->update(['store_id'=>$params['store_id']]); + return $this->success('设置成功'); + } }