From 27525c97b54c3498e75f5d43d67ea885c22095b5 Mon Sep 17 00:00:00 2001 From: lihan <3398341942@qq.com> Date: Sat, 13 Oct 2018 15:49:35 +0800 Subject: [PATCH] 跨域问题 --- app/address/controller/PlaceController.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/app/address/controller/PlaceController.php b/app/address/controller/PlaceController.php index 64679e3..1bbbb4c 100644 --- a/app/address/controller/PlaceController.php +++ b/app/address/controller/PlaceController.php @@ -30,6 +30,7 @@ class PlaceController extends HomeBaseController { $request = request(); if ($request->isPost()) { + echo json_encode(['code'=>20000]);exit(); $post = $request->param(); $code = $post['code']; $label = $post['label']; -- libgit2 0.24.0