Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯超鹏
laravelzh
Commits
b5c99fe1
Commit
b5c99fe1
authored
Aug 21, 2020
by
冯超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务器换不到方法bug
parent
2e7d8d48
Pipeline
#119
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
HuinappHomeController.php
app/Http/Controllers/HuinappHomeController.php
+1
-1
api.php
routes/api.php
+1
-1
No files found.
app/Http/Controllers/H
omeGZHY
Controller.php
→
app/Http/Controllers/H
uinappHome
Controller.php
View file @
b5c99fe1
...
...
@@ -17,7 +17,7 @@ use Illuminate\Support\Facades\Hash;
use
Illuminate\Support\Facades\Redis
;
use
Validator
;
class
H
omeGZHY
Controller
extends
controller
class
H
uinappHome
Controller
extends
controller
{
//设备详情
public
function
deviceDataInfo
(
$id
){
...
...
routes/api.php
View file @
b5c99fe1
...
...
@@ -122,7 +122,7 @@ Route::group(['middleware'=>'auth:api'],function (){
//uinapp 接口
Route
::
group
([
'middleware'
=>
'auth:api'
],
function
(){
Route
::
get
(
'h
omecontroller/devicedatainfo/{id}'
,
'HomeGZHY
Controller@deviceDataInfo'
);
//设备详情
Route
::
get
(
'h
uinapphome/devicedatainfo/{id}'
,
'HuinappHome
Controller@deviceDataInfo'
);
//设备详情
});
// Fake APIs
Route
::
get
(
'/table/list'
,
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment