diff --git a/app/api/controller/IndexController.php b/app/api/controller/IndexController.php index bcaedea..b5666d6 100644 --- a/app/api/controller/IndexController.php +++ b/app/api/controller/IndexController.php @@ -54,6 +54,6 @@ class IndexController extends Base } public function getOssInfo(Request $request){ - return $this->json(200,'ok',['bucketURL'=>'http://127.0.0.1:8787']); + return $this->json(200,'ok',['bucketURL'=>'http://goviewphp.lihaink.cn']); } } diff --git a/app/api/controller/Project.php b/app/api/controller/Project.php index a984e4e..94027e7 100644 --- a/app/api/controller/Project.php +++ b/app/api/controller/Project.php @@ -28,7 +28,6 @@ class Project extends Base $res=ProjectModel::where('id',$id)->first(); $res['CreateTime']=$res['created_at']; $res['CreateUserId']=1; - $res['id']=$res['Id']; return $this->json(200,'ok',$res->toArray()); }